From 529e81bd92709abec3d02a3474a40f0d4d7d7ff2 Mon Sep 17 00:00:00 2001 From: Raneet Debnath Date: Thu, 17 Nov 2022 15:01:29 +0530 Subject: [PATCH] bool types --- integration-tests/smoke_test.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/integration-tests/smoke_test.sh b/integration-tests/smoke_test.sh index 333e079641..397d797e6b 100644 --- a/integration-tests/smoke_test.sh +++ b/integration-tests/smoke_test.sh @@ -6,8 +6,8 @@ balanceInit=$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec #delay=600 #echo "Wait ${delay} seconds for state-sync..." #sleep $delay -stateSyncFound=false -checkpointFound=false +stateSyncFound="false" +checkpointFound="false" while true do @@ -26,7 +26,7 @@ do #exit 1 else echo "State Sync occured!" - stateSyncFound=true + stateSyncFound="true" fi checkpointID=$(curl -sL http://localhost:1317/checkpoints/latest | jq .result.id) @@ -36,10 +36,10 @@ do #exit 1 else echo "Found checkpoint ID:" $checkpointID - checkpointFound=true + checkpointFound="true" fi - if (( $stateSyncFound && $checkpointFound )); then + if (( $stateSyncFound == "true" & $checkpointFound == "true" )); then break fi