Skip to content

Commit

Permalink
Merge branch 'basvandijk/sns-testing-increase-timeout' into 'master'
Browse files Browse the repository at this point in the history
fix: increase timeout for propose_new_sns in test-sns-canister-upgrades.sh

 

See merge request dfinity-lab/public/ic!15640
  • Loading branch information
basvandijk committed Oct 25, 2023
2 parents f7835d7 + 2acde86 commit ed544c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testnet/tools/nns-tools/lib/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ed544c9

Please sign in to comment.