From 87f39bc40ec5da45e188c2996dd6b9b16a494acb Mon Sep 17 00:00:00 2001 From: taylan isikdemir Date: Wed, 24 Jan 2024 17:00:50 -0800 Subject: [PATCH] fix --- scripts/run_cass_and_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/run_cass_and_test.sh b/scripts/run_cass_and_test.sh index 632e6e7f5ff..c7bc7c0b21b 100755 --- a/scripts/run_cass_and_test.sh +++ b/scripts/run_cass_and_test.sh @@ -17,8 +17,9 @@ docker-compose -f docker/docker-compose.yml up -d cassandra cadence; status="" while [[ "$status" != "running" ]]; do - echo "waiting for containers to be healthy. status: $health_status" + echo "waiting for containers to be healthy. status: $status" sleep 5 + # checking cadence container is running is sufficient because it depends on health status of cassandra in docker-compose.yml status="$(docker inspect docker-cadence-1 -f '{{ .State.Status }}')" done;