From cdc10712b193f4c541fd4e0ba3975e0e9979b813 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 14 Apr 2021 01:51:56 +0000 Subject: [PATCH] Bump scripts to current commitment variants (#16526) (#16527) (cherry picked from commit 3bfae8e829ba4ffb77e77d2f8173bf0c1c333195) Co-authored-by: Tyera Eulberg --- ci/run-sanity.sh | 2 +- scripts/wallet-sanity.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/run-sanity.sh b/ci/run-sanity.sh index 6e9731877a..5e0390a60c 100755 --- a/ci/run-sanity.sh +++ b/ci/run-sanity.sh @@ -22,7 +22,7 @@ done 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 +while [[ $($solana_cli --url http://localhost:8899 slot --commitment processed) -le $((snapshot_slot + 1)) ]]; do sleep 1 done diff --git a/scripts/wallet-sanity.sh b/scripts/wallet-sanity.sh index e1e6a41f03..b2bbbc0592 100755 --- a/scripts/wallet-sanity.sh +++ b/scripts/wallet-sanity.sh @@ -21,7 +21,7 @@ node_readiness=false timeout=60 while [[ $timeout -gt 0 ]]; do set +e - output=$($solana_cli "${args[@]}" transaction-count --commitment max) + output=$($solana_cli "${args[@]}" transaction-count --commitment finalized) rc=$? set -e if [[ $rc -eq 0 && -n $output ]]; then