From 2acde86a0e588cba0b2d0ab081e77b206fec28aa Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Wed, 25 Oct 2023 10:38:25 +0000 Subject: [PATCH] fix: increase timeout for propose_new_sns in test-sns-canister-upgrades.sh --- testnet/tools/nns-tools/lib/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testnet/tools/nns-tools/lib/functions.sh b/testnet/tools/nns-tools/lib/functions.sh index c396381d588..276db368932 100755 --- a/testnet/tools/nns-tools/lib/functions.sh +++ b/testnet/tools/nns-tools/lib/functions.sh @@ -563,8 +563,8 @@ wait_for_proposal_to_execute() { local NNS_URL=$1 local PROPOSAL_ID=$2 - for i in {1..20}; do - echo "Testing to see if NNS proposal ${PROPOSAL_ID} executed successfully (${i}/20)" + for i in {1..30}; do + echo "Testing to see if NNS proposal ${PROPOSAL_ID} executed successfully (${i}/30)" EXECUTED=$(nns_proposal_info "$NNS_URL" "$PROPOSAL_ID" | $IDL2JSON | jq -r '.[0].executed_timestamp_seconds') if [[ "${EXECUTED}" != 0 ]]; then print_green "NNS proposal ${PROPOSAL_ID} executed successfully"