Browse Source

Fix flaky test TestRunExitOnStdinClose

This test was flaky on ppc64le, where the average time to close was
around 1 second. This bumps that timeout to 60 seconds which should be
plently.

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
Christopher Jones 9 năm trước cách đây
mục cha
commit
f84cabd3b8
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      integration-cli/docker_cli_run_test.go

+ 1 - 2
integration-cli/docker_cli_run_test.go

@@ -1743,10 +1743,9 @@ func (s *DockerSuite) TestRunExitOnStdinClose(c *check.C) {
 	name := "testrunexitonstdinclose"
 
 	meow := "/bin/cat"
-	delay := 1
+	delay := 60
 	if daemonPlatform == "windows" {
 		meow = "cat"
-		delay = 60
 	}
 	runCmd := exec.Command(dockerBinary, "run", "--name", name, "-i", "busybox", meow)