From 9f17262778d6706c88894f3ebfbc1e65c4d7f43e Mon Sep 17 00:00:00 2001 From: Jack Francis Date: Wed, 4 Oct 2017 13:36:38 -0700 Subject: [PATCH 1/2] increase wait time for node readiness to 15 mins --- test/e2e/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/runner.go b/test/e2e/runner.go index d7abe23efd..3d39d8b517 100644 --- a/test/e2e/runner.go +++ b/test/e2e/runner.go @@ -84,7 +84,7 @@ func main() { os.Setenv("KUBECONFIG", cfg.GetKubeConfig()) log.Printf("Kubeconfig:%s\n", cfg.GetKubeConfig()) log.Println("Waiting on nodes to go into ready state...") - ready := node.WaitOnReady(eng.NodeCount(), 10*time.Second, 10*time.Minute) + ready := node.WaitOnReady(eng.NodeCount(), 10*time.Second, 15*time.Minute) if ready == false { teardown() log.Fatalf("Error: Not all nodes in ready state!") From 4c2a8ce065b1382e0ee077238f3b2e2663f954ba Mon Sep 17 00:00:00 2001 From: Jack Francis Date: Wed, 4 Oct 2017 13:43:31 -0700 Subject: [PATCH 2/2] using cfg.Timeout so timeout is configurable --- test/e2e/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/runner.go b/test/e2e/runner.go index 3d39d8b517..f52c16a2cb 100644 --- a/test/e2e/runner.go +++ b/test/e2e/runner.go @@ -84,7 +84,7 @@ func main() { os.Setenv("KUBECONFIG", cfg.GetKubeConfig()) log.Printf("Kubeconfig:%s\n", cfg.GetKubeConfig()) log.Println("Waiting on nodes to go into ready state...") - ready := node.WaitOnReady(eng.NodeCount(), 10*time.Second, 15*time.Minute) + ready := node.WaitOnReady(eng.NodeCount(), 10*time.Second, cfg.Timeout) if ready == false { teardown() log.Fatalf("Error: Not all nodes in ready state!")