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 <dgrisonn@redhat.com>
This commit is contained in:
@@ -87,7 +87,7 @@ func TestQueryPrometheus(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Wait for pod to respond at queries at all. Then start verifying their results.
|
// 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")
|
_, err := promClient.query("up")
|
||||||
return err == nil, nil
|
return err == nil, nil
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user