Skip to content

Commit

Permalink
Increase default attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
robskillington committed Nov 17, 2020
1 parent 4e0a26f commit 0664da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docker-integration-tests/prometheus/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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) ]]'
}

Expand Down

0 comments on commit 0664da4

Please sign in to comment.