Replies: 2 comments 1 reply
-
Yeah, this indeed looks like some test pollution situation. Do you think you could provide a small reproducer project, so we can look at it in isolation? |
Beta Was this translation helpful? Give feedback.
1 reply
-
@hantsy do you think it would be possible to enable DEBUG logging in your CI so that when there is a failure we can get more info from the SDK? Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to use
@TestContainers
and@Container
to bootstrap a Couchbase in a docker for testing purpose.When running the application it always refused to connect.
com.couchbase.client.core.deps.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:50392
I also used other database with testcontainers, others are not problematic.
And I use an Spring Boot initializer class to bootstrap it manually, it works.
Update: I found on the Github actions, sometime the later failed. And always one of them failed. I am not sure the reason. See the github actions log: https://github.com/hantsy/spring-reactive-sample/runs/4199996412?check_suite_focus=true
If I ran the tests one by one, it worked well. I guess there are some clean work not performed in the running tests that affects the further tests.
On Github actions, I have to add scripts to clean the Docker data and run them one by one to make sure it working. see: https://github.com/hantsy/spring-reactive-sample/blob/master/.github/workflows/boot-data-couchbase.yml#L31
Beta Was this translation helpful? Give feedback.
All reactions