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:
Damien Grisonnet
2020-03-31 16:21:46 +02:00
parent 106132ac18
commit d3bee7fa1a

View File

@@ -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
})