From 0664da4dc8724bf1f9e2a1e3964f0c5cf069e1cb Mon Sep 17 00:00:00 2001 From: Rob Skillington Date: Tue, 17 Nov 2020 16:35:03 -0500 Subject: [PATCH] Increase default attempts --- scripts/docker-integration-tests/prometheus/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docker-integration-tests/prometheus/test.sh b/scripts/docker-integration-tests/prometheus/test.sh index dfc305f7b0..3c00c5fb37 100755 --- a/scripts/docker-integration-tests/prometheus/test.sh +++ b/scripts/docker-integration-tests/prometheus/test.sh @@ -192,7 +192,7 @@ function test_query_lookback_applied { # Now query and ensure that the latest timestamp is within the last two steps # from now. - ATTEMPTS=2 TIMEOUT=2 MAX_TIMEOUT=4 retry_with_backoff \ + ATTEMPTS=10 TIMEOUT=2 MAX_TIMEOUT=4 retry_with_backoff \ '[[ $(curl -s "0.0.0.0:7201/api/v1/query_range?query=lookback_test&step=15&start=$(expr $(date "+%s") - 600)&end=$(date "+%s")" | jq -r ".data.result[0].values[-1][0]") -gt $(expr $(date "+%s") - 30) ]]' }