Prechádzať zdrojové kódy

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

Fix flaky test TestRunExitOnStdinClose
Alexander Morozov 9 rokov pred
rodič
commit
d2851cc7e3
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  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)