Skip to content

Commit 5bed982

Browse files
author
Marcus Linke
committed
Fix race condition
1 parent 553b394 commit 5bed982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/github/dockerjava/core/command/StartContainerCmdImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public void startContainerWithLinking() throws DockerException {
283283
}
284284

285285
CreateContainerResponse container2 = dockerClient
286-
.createContainerCmd("busybox").withCmd("true")
286+
.createContainerCmd("busybox").withCmd("sleep", "9999")
287287
.withName("container2").exec();
288288

289289
LOG.info("Created container2 {}", container2.toString());

0 commit comments

Comments
 (0)