File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8989 fi
9090
9191 counter=0
92- while [[ $counter -lt 21 ]]; do
92+ while [[ $counter -lt 31 ]]; do
9393 response=$(curl -H "apikey: $(status-endpoint-api-key)" -s "$endpoint")
9494 response_code=$(jq -r '.checks.healthcheck.responseCode' <<< "$response")
9595 response_body=$(jq -r '.checks.healthcheck.outcome' <<< "$response")
@@ -105,13 +105,13 @@ steps:
105105 fi
106106 done
107107
108- if [ $counter -eq 21 ]; then
108+ if [ $counter -eq 31 ]; then
109109 echo "Status test failed: Maximum number of attempts reached"
110110 echo "Last response received:"
111111 echo "$response"
112112 exit 1
113113 fi
114- displayName: Waiting for API to be available
114+ displayName: Wait for API to be available
115115 workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)"
116116
117117 - bash : |
You can’t perform that action at this time.
0 commit comments