Files
pezkuwi-sdk/pezkuwi/zombienet_tests/misc/0002-upgrade-node.zndsl
T

33 lines
1.2 KiB
Plaintext

Description: Smoke / Upgrade Node
Network: ./0002-upgrade-node.toml
Creds: config
charlie: teyrchain 2000 block height is at least 10 within 200 seconds
dave: teyrchain 2001 block height is at least 10 within 200 seconds
# upgrade both nodes
# For testing using native provider you should set this env var
# POLKADOT_PR_ARTIFACTS_URL=https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/1842869/artifacts/raw/artifacts
# with the version of polkadot you want to download.
alice: run ./0002-download-polkadot-from-pr.sh with "{{POLKADOT_PR_ARTIFACTS_URL}}" within 240 seconds
bob: run ./0002-download-polkadot-from-pr.sh with "{{POLKADOT_PR_ARTIFACTS_URL}}" within 240 seconds
# update the cmd to add the flag '--insecure-validator-i-know-what-i-do'
# once the base image include the version with this flag we can remove this logic.
alice: run ./0002-update-cmd.sh within 60 seconds
bob: run ./0002-update-cmd.sh within 60 seconds
# restart
alice: restart after 5 seconds
bob: restart after 5 seconds
# process bootstrap
sleep 30 seconds
alice: is up within 10 seconds
bob: is up within 10 seconds
alice: teyrchain 2000 block height is at least 30 within 300 seconds
bob: teyrchain 2001 block height is at least 30 within 120 seconds