Files
pezkuwi-subxt/polkadot/zombienet_tests/misc/0002-upgrade-node.zndsl
T
Javier Viola f209b31b48 Make downloads in parallel and give more time to complete (#1699)
Fix flaky test (e.g
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3787906).
Sometimes just timeout when trying to download the artifacts from ci.
This make the download in parallel and allow for more time to complete.

Thx!

cc: @michalkucharczyk
2023-09-25 15:46:36 -03:00

29 lines
1001 B
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
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