From a744623948ed2d95188d20d578d654a20cee934d Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Mon, 6 Oct 2014 17:14:34 -0700 Subject: [PATCH] Try to fix flakiness by increasing timeouts, because that is always the best way to perform such a fix. --- cmd/integration/integration.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/integration/integration.go b/cmd/integration/integration.go index d957ac1c97..7b0ad1cf37 100644 --- a/cmd/integration/integration.go +++ b/cmd/integration/integration.go @@ -223,7 +223,7 @@ func runReplicationControllerTest(c *client.Client) { glog.Infof("Done creating replication controllers") // Give the controllers some time to actually create the pods - if err := wait.Poll(time.Second, time.Second*10, c.ControllerHasDesiredReplicas(controllerRequest)); err != nil { + if err := wait.Poll(time.Second, time.Second*30, c.ControllerHasDesiredReplicas(controllerRequest)); err != nil { glog.Fatalf("FAILED: pods never created %v", err) } @@ -232,7 +232,7 @@ func runReplicationControllerTest(c *client.Client) { if err != nil { glog.Fatalf("FAILED: unable to get pods to list: %v", err) } - if err := wait.Poll(time.Second, time.Second*10, podsOnMinions(c, *pods)); err != nil { + if err := wait.Poll(time.Second, time.Second*30, podsOnMinions(c, *pods)); err != nil { glog.Fatalf("FAILED: pods never started running %v", err) }