-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stabilize CouchbaseContainer by merging the Socat command #2081
Conversation
.exec(); | ||
|
||
dockerClient.execStartCmd(createCmdResponse.getId()) | ||
.exec(new ExecStartResultCallback()); | ||
.exec(new ExecStartResultCallback()) | ||
.awaitCompletion(10, TimeUnit.SECONDS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI we were missing awaitStarted
here, and I guess it caused some races
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth a try 👍
.exec(); | ||
|
||
dockerClient.execStartCmd(createCmdResponse.getId()) | ||
.exec(new ExecStartResultCallback()); | ||
.exec(new ExecStartResultCallback()) | ||
.awaitCompletion(10, TimeUnit.SECONDS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Nice! Absence of this looks like a bug, so let's merge it. I'm running a soak test for this change and will report back this evening. Fingers crossed! 🤞 |
* Restore `@Flaky` in Couchbase tests (partially revert #2081) * Manually start/stop container, do not reuse environment/cluster
Fixes #1453