Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fc505c1

Browse filesBrowse files
authored
Fix restart test (#2375)
1 parent 996f206 commit fc505c1
Copy full SHA for fc505c1

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎docker-java/src/test/java/com/github/dockerjava/cmd/RestartContainerCmdImplIT.java

Copy file name to clipboardExpand all lines: docker-java/src/test/java/com/github/dockerjava/cmd/RestartContainerCmdImplIT.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void restartContainerWithSignal() throws Exception {
6060
.build();
6161
try (DockerClient dockerClient = createDockerClient(dockerClientConfig)) {
6262
String expectedUserSignal = "10";
63-
String initialCommandWithTrap = "trap 'echo \"exit trapped\"' %s; sleep 9999;";
63+
String initialCommandWithTrap = "trap 'echo \"exit trapped\"' %s; while :; do sleep 1; done";
6464
final String containerId = dockerClient
6565
.createContainerCmd(DEFAULT_IMAGE)
6666
.withCmd(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.