Files
pezkuwi-subxt/polkadot/zombienet_tests/misc/0002-upgrade-node.zndsl
T
Marcin S c046a9d5ed PVF: Add Secure Validator Mode (#2486)
Co-authored-by: Javier Viola <javier@parity.io>
2023-12-05 14:32:56 +02:00

34 lines
1.2 KiB
Plaintext

Description: Smoke / Upgrade Node
Network: ./0002-upgrade-node.toml
Creds: config
charlie: parachain 2000 block height is at least 10 within 200 seconds
dave: parachain 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.
# avg 30s in our infra
alice: run ./0002-download-polkadot-from-pr.sh with "{{POLKADOT_PR_ARTIFACTS_URL}}" within 60 seconds
bob: run ./0002-download-polkadot-from-pr.sh with "{{POLKADOT_PR_ARTIFACTS_URL}}" within 60 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: parachain 2000 block height is at least 30 within 300 seconds
bob: parachain 2001 block height is at least 30 within 120 seconds