mirror of https://github.com/docker/docs.git
Merge pull request #22050 from tophj-ibm/increase-timeout-stdin-close-test
Fix flaky test TestRunExitOnStdinClose
This commit is contained in:
commit
d2851cc7e3
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue