We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 996f206 commit fc505c1Copy full SHA for fc505c1
docker-java/src/test/java/com/github/dockerjava/cmd/RestartContainerCmdImplIT.java
@@ -60,7 +60,7 @@ public void restartContainerWithSignal() throws Exception {
60
.build();
61
try (DockerClient dockerClient = createDockerClient(dockerClientConfig)) {
62
String expectedUserSignal = "10";
63
- String initialCommandWithTrap = "trap 'echo \"exit trapped\"' %s; sleep 9999;";
+ String initialCommandWithTrap = "trap 'echo \"exit trapped\"' %s; while :; do sleep 1; done";
64
final String containerId = dockerClient
65
.createContainerCmd(DEFAULT_IMAGE)
66
.withCmd(
0 commit comments