From 3101c620c009bccf123a804f3c4603b95852927b Mon Sep 17 00:00:00 2001 From: Damien Grisonnet Date: Tue, 31 Mar 2020 16:34:40 +0200 Subject: [PATCH] test: increase pod polling time The original polling time was a bit short for all pods to be up which made e2e tests fail half of the time. Signed-off-by: Damien Grisonnet --- tests/e2e/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/main_test.go b/tests/e2e/main_test.go index e63730a3..a8520046 100644 --- a/tests/e2e/main_test.go +++ b/tests/e2e/main_test.go @@ -87,7 +87,7 @@ func TestQueryPrometheus(t *testing.T) { } // Wait for pod to respond at queries at all. Then start verifying their results. - err := wait.Poll(5*time.Second, 1*time.Minute, func() (bool, error) { + err := wait.Poll(5*time.Second, 2*time.Minute, func() (bool, error) { _, err := promClient.query("up") return err == nil, nil })