Procházet zdrojové kódy

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 před 9 roky
rodič
revize
f84cabd3b8
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  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)