From 95246df84206575416b33ee62ca20d08f9bf341f Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Mon, 28 Oct 2024 20:59:49 -0600 Subject: [PATCH] give service a few more seconds to launch --- .github/workflows/integration.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 7a856dc..144d3ff 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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"