From dac28e0961e326db78e2bf0dfaacb51796932911 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 18 Jan 2019 12:09:25 -0800 Subject: [PATCH] Temporarily ignore wallet sanity failures when leader rotation is enabled This commit should be reverted once https://github.com/solana-labs/solana/issues/2474 is fixed --- ci/localnet-sanity.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ci/localnet-sanity.sh b/ci/localnet-sanity.sh index 2f300e8a18..30bb06cf1d 100755 --- a/ci/localnet-sanity.sh +++ b/ci/localnet-sanity.sh @@ -184,11 +184,18 @@ while [[ $iteration -le $iterations ]]; do ) || flag_error echo "--- Wallet sanity ($iteration)" + flag_error_if_no_leader_rotation() { + # TODO: Stop ignoring wallet sanity failures when leader rotation is enabled + # once https://github.com/solana-labs/solana/issues/2474 is fixed + if [[ -n $maybeNoLeaderRotation ]]; then + flag_error + fi + } ( set -x # shellcheck disable=SC2086 # Don't want to double quote $walletRpcEndpoint timeout 60s scripts/wallet-sanity.sh $walletRpcEndpoint - ) || flag_error + ) || flag_error_if_no_leader_rotation iteration=$((iteration + 1))