Skip to content

Commit

Permalink
fix: use get method
Browse files Browse the repository at this point in the history
  • Loading branch information
dbcfd committed Feb 5, 2024
1 parent d22ba15 commit ebce4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci-scripts/setup_test_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ -z "$IT_TEST_CHECKPOINTER" ]; then
docker compose -f it/docker-compose.yml up -d checkpointer

count=0
while [ $(curl -s -o /dev/null -I -w "%{http_code}" "http://localhost:8080/api/v1/healthcheck") -ne "200" ]; do
while [ $(curl -s -o /dev/null -I -w "%{http_code}" -X GET "http://localhost:8080/api/v1/healthcheck") -ne "200" ]; do
count=$((count+1))
echo "Checkpointer is not yet ready, waiting and trying again"
sleep 1
Expand Down

0 comments on commit ebce4d7

Please sign in to comment.