From 278f7e7239a72c9acfdfdc0fa64d88ca5a83c443 Mon Sep 17 00:00:00 2001 From: Arpit Temani Date: Tue, 15 Nov 2022 16:34:02 +0530 Subject: [PATCH] add checkpoint delay --- integration-tests/smoke_test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integration-tests/smoke_test.sh b/integration-tests/smoke_test.sh index 01f6e1a50c..a1bc292359 100644 --- a/integration-tests/smoke_test.sh +++ b/integration-tests/smoke_test.sh @@ -23,6 +23,11 @@ if (( $balance <= $balanceInit )); then exit 1 fi +delayCheckpoint=300 + +echo "Wait ${delayCheckpoint} seconds for checkpoint..." +sleep $delayCheckpoint + checkpointID=$(curl -sL http://localhost:1317/checkpoints/latest | jq .result.id) if [ $checkpointID == "null" ]; then