Browse code

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 authored on 2016/04/15 04:16:43
Showing 1 changed files
... ...
@@ -1743,10 +1743,9 @@ func (s *DockerSuite) TestRunExitOnStdinClose(c *check.C) {
1743 1743
 	name := "testrunexitonstdinclose"
1744 1744
 
1745 1745
 	meow := "/bin/cat"
1746
-	delay := 1
1746
+	delay := 60
1747 1747
 	if daemonPlatform == "windows" {
1748 1748
 		meow = "cat"
1749
-		delay = 60
1750 1749
 	}
1751 1750
 	runCmd := exec.Command(dockerBinary, "run", "--name", name, "-i", "busybox", meow)
1752 1751