From c70674a616c882a3775ec6f8e1056c3d5484f839 Mon Sep 17 00:00:00 2001 From: sakridge Date: Tue, 30 Mar 2021 15:51:14 -0700 Subject: [PATCH] debug run-sanity.sh (#16163) --- ci/run-sanity.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/run-sanity.sh b/ci/run-sanity.sh index 6e9731877..00dc6f757 100755 --- a/ci/run-sanity.sh +++ b/ci/run-sanity.sh @@ -7,7 +7,7 @@ source multinode-demo/common.sh rm -rf config/run/init-completed config/ledger config/snapshot-ledger -timeout 120 ./run.sh & +SOLANA_RUN_SH_VALIDATOR_ARGS="--snapshot-interval-slots 200" timeout 120 ./run.sh & pid=$! attempts=20 @@ -16,6 +16,8 @@ while [[ ! -f config/run/init-completed ]]; do if ((--attempts == 0)); then echo "Error: validator failed to boot" exit 1 + else + echo "Checking init" fi done @@ -24,6 +26,7 @@ snapshot_slot=1 # wait a bit longer than snapshot_slot while [[ $($solana_cli --url http://localhost:8899 slot --commitment recent) -le $((snapshot_slot + 1)) ]]; do sleep 1 + echo "Checking slot" done $solana_validator --ledger config/ledger exit --force || true