Skip to content

Commit

Permalink
give service a few more seconds to launch
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Oct 29, 2024
1 parent 0f744dc commit 95246df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ jobs:
run: |
make build
make testnet-start &
while ! nc -z localhost 26657; do
sleep 1
done;
while ! nc -z localhost 26657; do sleep 1; done
- name: Verify gcosmos is running
run: |
sleep 5
RESP=$(curl -s http://127.0.0.1:26657/blocks/watermark --max-time 5 | jq .VotingHeight)
if [[ "$RESP" -le 1 ]]; then
echo "Failed to start gcosmos"
Expand Down

0 comments on commit 95246df

Please sign in to comment.