From ba33a70e47492f9cc8e3550ed795c892553ac1d4 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Wed, 17 Oct 2018 09:30:11 -0700 Subject: Attempt to deflake TestPythonHello It has timed out running with kokoro a few times. I passes consistently on my machine (200+ runsc). Increase the timeout to see if it helps. Failure: image_test.go:212: WaitForHTTP() timeout: Get http://localhost:32785/: dial tcp [::1]:32785: connect: connection refused PiperOrigin-RevId: 217532428 Change-Id: Ibf860aecf537830bef832e436f2e804b3fc12f2d --- runsc/test/image/image_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runsc/test/image/image_test.go b/runsc/test/image/image_test.go index 428f05c04..40c92e1c0 100644 --- a/runsc/test/image/image_test.go +++ b/runsc/test/image/image_test.go @@ -208,7 +208,7 @@ func TestPythonHello(t *testing.T) { } // Wait until it's up and running. - if err := testutil.WaitForHTTP(port, 20*time.Second); err != nil { + if err := testutil.WaitForHTTP(port, 30*time.Second); err != nil { t.Fatalf("WaitForHTTP() timeout: %v", err) } -- cgit v1.2.3