Selaa lähdekoodia

Merge pull request #8718 from jfrazelle/run-redirect-test-fix

TestRunRedirectStdout kept failing with timed out.
Alexandr Morozov 10 vuotta sitten
vanhempi
commit
5343ede602
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      integration-cli/docker_cli_run_test.go

+ 1 - 1
integration-cli/docker_cli_run_test.go

@@ -2266,7 +2266,7 @@ func TestRunRedirectStdout(t *testing.T) {
 		}()
 		}()
 
 
 		select {
 		select {
-		case <-time.After(time.Second):
+		case <-time.After(2 * time.Second):
 			t.Fatal("command timeout")
 			t.Fatal("command timeout")
 		case <-ch:
 		case <-ch:
 		}
 		}