Merge pull request #22050 from tophj-ibm/increase-timeout-stdin-close-test

Fix flaky test TestRunExitOnStdinClose
This commit is contained in:
Alexander Morozov 2016-04-15 10:46:31 -07:00
commit d2851cc7e3
1 changed files with 1 additions and 2 deletions

View File

@ -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)