Przeglądaj źródła

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 lat temu
rodzic
commit
f84cabd3b8
1 zmienionych plików z 1 dodań i 2 usunięć
  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"
 	name := "testrunexitonstdinclose"
 
 
 	meow := "/bin/cat"
 	meow := "/bin/cat"
-	delay := 1
+	delay := 60
 	if daemonPlatform == "windows" {
 	if daemonPlatform == "windows" {
 		meow = "cat"
 		meow = "cat"
-		delay = 60
 	}
 	}
 	runCmd := exec.Command(dockerBinary, "run", "--name", name, "-i", "busybox", meow)
 	runCmd := exec.Command(dockerBinary, "run", "--name", name, "-i", "busybox", meow)