Skip to content

Commit

Permalink
Add retries to furst curl command, to allow for bootRun to finish.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Griffin committed Nov 20, 2024
1 parent 72a8252 commit 6c29a6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

ENDPOINT="http://localhost:8080"

curl -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer secret" "$ENDPOINT/products?pageSize=1"
curl -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer secret" \
--connect-timeout 5 --max-time 10 --retry 5 --retry-delay 1 --retry-max-time 60 \
--retry-all-errors "$ENDPOINT/products?pageSize=1"


0 comments on commit 6c29a6e

Please sign in to comment.