Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void restartContainerWithSignal() throws Exception {
.build();
try (DockerClient dockerClient = createDockerClient(dockerClientConfig)) {
String expectedUserSignal = "10";
String initialCommandWithTrap = "trap 'echo \"exit trapped\"' %s; sleep 9999;";
String initialCommandWithTrap = "trap 'echo \"exit trapped\"' %s; while :; do sleep 1; done";
final String containerId = dockerClient
.createContainerCmd(DEFAULT_IMAGE)
.withCmd(
Expand Down