Skip to content

Commit

Permalink
test: Add message to retry of deployment during integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Starkteetje committed Oct 26, 2023
1 parent 5380ae7 commit 6bd96ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bd96ea

Please sign in to comment.