Files
pezkuwi-subxt/polkadot/zombienet_tests/misc/0002-upgrade-node.feature
T
Javier Viola 8d8bd99582 [Zombienet] add upgrade test (#5970)
* add upgrade test

* fix node names

* changes from feedback

* rename bash script

* fix upgrade node test

* upgrade node test, use env

* bump zombienet version and fix upgrade test

* bump zombienet version

* bump zombienet

* fix raw link for binary

* adjust within time
2022-09-20 14:13:55 +02:00

34 lines
1.0 KiB
Gherkin

Description: Smoke / Upgrade Node
Network: ./0002-upgrade-node.toml
Creds: config
alice: is up
bob: is up
charlie: is up
dave: is up
alice: parachain 2000 block height is at least 10 within 200 seconds
bob: 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_BIN_URL=https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/1842869/artifacts/raw/artifacts/polkadot
# 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_BIN_URL}}" within 40 seconds
bob: run ./0002-download-polkadot-from-pr.sh with "{{POLKADOT_PR_BIN_URL}}" within 40 seconds
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