Skip to content
Snippets Groups Projects
Unverified Commit f209b31b authored by Javier Viola's avatar Javier Viola Committed by GitHub
Browse files

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
parent b18fb35e
Branches
No related merge requests found
Pipeline #394163 passed with stages
in 1 hour, 6 minutes, and 47 seconds
......@@ -12,8 +12,10 @@ export PATH=$CFG_DIR:$PATH
cd $CFG_DIR
# see 0002-upgrade-node.zndsl to view the args.
curl -L -O $1/polkadot
curl -L -O $1/polkadot-prepare-worker
curl -L -O $1/polkadot-execute-worker
curl -L -O $1/polkadot &
curl -L -O $1/polkadot-prepare-worker &
curl -L -O $1/polkadot-execute-worker &
wait
chmod +x $CFG_DIR/polkadot $CFG_DIR/polkadot-prepare-worker $CFG_DIR/polkadot-execute-worker
echo $(polkadot --version)
......@@ -11,8 +11,8 @@ dave: parachain 2001 block height is at least 10 within 200 seconds
# 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 40 seconds
bob: run ./0002-download-polkadot-from-pr.sh with "{{POLKADOT_PR_ARTIFACTS_URL}}" within 40 seconds
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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment