Open brian-mulier-p opened 1 year ago
Is there any update on that? I am having the same issue
/edit Link to hacky fix seems to be overridden by following commits, but this line seems to fix the issue - https://github.com/kestra-io/plugin-couchbase/blob/b12d13ce3e568bc617c7fc0b734c1ebfb0bb26b4/configure-couchbase.sh#L5
/edit2 It seems like it didn't help. It still randomly fails
Workaround: use .withStartupAttempts(3)
Sorry I didn't link the commit 😅 In the end I used a side ci container with some startup script since I didn't manage to find a suitable solution
Module
Couchbase
Testcontainers version
1.18.0
Using the latest Testcontainers version?
Yes
Host OS
Ubuntu
Host Arch
x86
Docker version
What happened?
Test container sometimes fail to start. It has to deal with the renameNode method which looks to occur too soon : https://github.com/kestra-io/plugin-couchbase/actions/runs/4801781999/jobs/8544433965 Workaround looks to work but it looks too hacky : https://github.com/kestra-io/plugin-couchbase/blob/feat/triggerAndQuery/src/test/java/io/kestra/plugin/couchbase/CouchbaseTest.java#L19-L33
Relevant log output
Additional Information
Happens on both CI and local