Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
grqz authored Sep 15, 2024
1 parent 8150f2b commit 315a315
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ jobs:
echo "Waiting for server to be up..."
ping() {
until curl -o- --silent --fail http://127.0.0.1:4416/ping 2>&1; do
until FINAL_RESP=$(curl -o- --silent --fail http://127.0.0.1:4416/ping 2>&1); do
sleep ${1:-0.5}
done
[ -n "$FINAL_RESP" ] && echo $FINAL_RESP || echo "failed to get ping response"
}
export -f ping
PING_RESP=$(timeout 7.5 bash -c ping) || \
Expand Down

0 comments on commit 315a315

Please sign in to comment.