chore: Increase retry timer when validating configs

This commit is contained in:
Joachim Van Herwegen 2023-07-20 17:04:39 +02:00
parent 9c2c5edaf5
commit d0e01472b9

View File

@ -72,7 +72,7 @@ run_server_with_config () {
cat test/tmp/"$CONFIG_NAME" cat test/tmp/"$CONFIG_NAME"
else else
echo "$TEST_NAME($CONFIG_NAME) - Attempting HTTP access to the server" echo "$TEST_NAME($CONFIG_NAME) - Attempting HTTP access to the server"
if curl -sfkI -X GET --retry 15 --retry-connrefused --retry-delay 1 $CSS_BASE_URL > test/tmp/"$CONFIG_NAME"-curl; then if curl -sfkI -X GET --retry 15 --retry-connrefused --retry-delay 5 $CSS_BASE_URL > test/tmp/"$CONFIG_NAME"-curl; then
echo "$TEST_NAME($CONFIG_NAME) - SUCCESS: server reached" echo "$TEST_NAME($CONFIG_NAME) - SUCCESS: server reached"
FAILURE=0 FAILURE=0
else else