From 87c54fa7bee290b1ee204e17e403dfdbcad6ce2c Mon Sep 17 00:00:00 2001 From: Raneet Debnath Date: Fri, 18 Nov 2022 15:00:46 +0530 Subject: [PATCH] chg: remove repetitive logs --- integration-tests/smoke_test.sh | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/integration-tests/smoke_test.sh b/integration-tests/smoke_test.sh index 9bd5cebb40..07a84814fd 100644 --- a/integration-tests/smoke_test.sh +++ b/integration-tests/smoke_test.sh @@ -16,21 +16,13 @@ do exit 1 fi - echo "Found matic balance on account[0]: " $balance - - if (( $balance <= $balanceInit )); then - echo "Balance in bor network has not increased. Waiting for state sync..." - else - echo "State Sync occured!" + if (( $balance > $balanceInit )); then stateSyncFound="true" fi checkpointID=$(curl -sL http://localhost:1317/checkpoints/latest | jq .result.id) - if [ $checkpointID == "null" ]; then - echo "Checkpoint didn't arrive yet! Waiting..." - else - echo "Found checkpoint ID:" $checkpointID + if [ $checkpointID != "null" ]; then checkpointFound="true" fi @@ -39,4 +31,4 @@ do fi done -echo "All tests have passed!" +echo "Both state sync and checkpoint went through. All tests have passed!"