From 6bd96ea69c746c088390506743f355c31317360d Mon Sep 17 00:00:00 2001 From: Teetje Stark Date: Thu, 26 Oct 2023 11:48:54 +0200 Subject: [PATCH] test: Add message to retry of deployment during integration test --- tests/integration/integration-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/integration-test.sh b/tests/integration/integration-test.sh index 370ff322f..a26b44844 100755 --- a/tests/integration/integration-test.sh +++ b/tests/integration/integration-test.sh @@ -49,7 +49,7 @@ single_test() { # ID TXT TYP REF NS MSG RES kubectl apply -f $4 >output.log 2>&1 || true fi # if the webhook couldn't be called, try again. - [[ ("$(cat output.log)" =~ "failed calling webhook") && $i -lt $RETRY ]] || break + [[ ("$(cat output.log)" =~ "failed calling webhook") && $i -lt $RETRY ]] && echo "Failed calling webhook, retrying test deployments" || break done if [[ "$3" == "debug" ]]; then # account for extra deployed pod for attaching ephemeral container to