summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-10-17 09:30:11 -0700
committerShentubot <shentubot@google.com>2018-10-17 09:31:00 -0700
commitba33a70e47492f9cc8e3550ed795c892553ac1d4 (patch)
tree8d7bbfadf1b5fb623611b2f55978835f59f1d5b3
parentbdcf8d143ef33d190fd92fcf7343bba06c3dba1f (diff)
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
-rw-r--r--runsc/test/image/image_test.go2
1 files changed, 1 insertions, 1 deletions
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)
}