diff --git a/tests/scripts/github-action-helper.sh b/tests/scripts/github-action-helper.sh index 0f0dcb598..0d884b345 100755 --- a/tests/scripts/github-action-helper.sh +++ b/tests/scripts/github-action-helper.sh @@ -23,6 +23,7 @@ set -xe NETWORK_ERROR="connection reset by peer" SERVICE_UNAVAILABLE_ERROR="Service Unavailable" INTERNAL_ERROR="INTERNAL_ERROR" +INTERNAL_SERVER_ERROR="500 Internal Server Error" ############# # FUNCTIONS # @@ -109,6 +110,10 @@ function build_rook() { echo "network failure occurred, retrying..." continue ;; + *"$INTERNAL_SERVER_ERROR"*) + echo "network failure occurred, retrying..." + continue + ;; *) # valid failure exit 1