1 parent 2ec5fb3 commit 01f1468Copy full SHA for 01f1468
1 file changed
src/test/java/com/github/dockerjava/core/command/CreateContainerCmdImplTest.java
@@ -597,9 +597,8 @@ public void testWithStopSignal() throws Exception {
597
.withStdErr(true)
598
.withStdOut(true)
599
.withTailAll()
600
- .exec(callback);
601
-// .awaitCompletion(); FIXME https://github.com/docker-java/docker-java/issues/476
602
- Thread.sleep(TimeUnit.SECONDS.toMillis(5));
+ .exec(callback)
+ .awaitCompletion();
603
604
String log = callback.builder.toString();
605
assertThat(log, is("exit trapped 10"));
0 commit comments