From 28b9207bbe12945e3d487f962771bb15224869a6 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Mon, 22 Jan 2024 22:24:14 +0000 Subject: [PATCH] Restore waiting for the server to be up before launching tests. (#135) Reviewed-on: https://git.vdb.to/cerc-io/laconicd/pulls/135 Co-authored-by: Thomas E Lackey Co-committed-by: Thomas E Lackey --- tests/sdk_tests/run-tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/sdk_tests/run-tests.sh b/tests/sdk_tests/run-tests.sh index 8ad8bf7f..2ce597cf 100755 --- a/tests/sdk_tests/run-tests.sh +++ b/tests/sdk_tests/run-tests.sh @@ -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" \