Skip to content

Commit

Permalink
Restore waiting for the server to be up before launching tests. (#135)
Browse files Browse the repository at this point in the history
Reviewed-on: https://git.vdb.to/cerc-io/laconicd/pulls/135
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
  • Loading branch information
telackey authored and Thomas E Lackey committed Jan 22, 2024
1 parent 055cfb2 commit 28b9207
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/sdk_tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ cosmos_chain_id=laconic_9000-1
laconicd_rest_endpoint=http://laconicd:1317
laconicd_gql_endpoint=http://laconicd:9473/api

docker compose exec laconicd sh -c "curl --retry 10 --retry-delay 3 --retry-connrefused http://127.0.0.1:9473/api"

# Run tests
docker compose exec \
-e COSMOS_CHAIN_ID="$cosmos_chain_id" \
Expand Down

0 comments on commit 28b9207

Please sign in to comment.