Skip to content

Commit

Permalink
Fix ZN pipeline - try 1
Browse files Browse the repository at this point in the history
  • Loading branch information
tdimitrov committed Oct 18, 2024
1 parent 586b56b commit a04d480
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .gitlab/pipeline/zombienet/polkadot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ zombienet-polkadot-functional-0015-coretime-shared-core:
before_script:
- !reference [ .zombienet-polkadot-common, before_script ]
- cp --remove-destination ${LOCAL_DIR}/assign-core.js ${LOCAL_DIR}/functional
- cp --remove-destination ${LOCAL_DIR}/force-register-paras.js ${LOCAL_DIR}/functional
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
--local-dir="${LOCAL_DIR}/functional"
Expand All @@ -236,6 +237,10 @@ zombienet-polkadot-functional-0016-approval-voting-parallel:
zombienet-polkadot-functional-0017-coretime-collation-fetching-fairness:
extends:
- .zombienet-polkadot-common
before_script:
- !reference [ .zombienet-polkadot-common, before_script ]
- cp --remove-destination ${LOCAL_DIR}/force-register-paras.js ${LOCAL_DIR}/functional
- cp --remove-destination ${LOCAL_DIR}/assign-core.js ${LOCAL_DIR}/functional
script:
- /home/nonroot/zombie-net/scripts/ci/run-test-local-env-manager.sh
--local-dir="${LOCAL_DIR}/functional"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Creds: config
validator: reports node_roles is 4

# register paras 2 by 2 to speed up the test. registering all at once will exceed the weight limit.
validator-0: js-script ./0015-force-register-paras.js with "2000,2001" return is 0 within 600 seconds
validator-0: js-script ./0015-force-register-paras.js with "2002,2003" return is 0 within 600 seconds
validator-0: js-script ./force-register-paras.js with "2000,2001" return is 0 within 600 seconds
validator-0: js-script ./force-register-paras.js with "2002,2003" return is 0 within 600 seconds
# assign core 0 to be shared by all paras.
validator-0: js-script ./assign-core.js with "0,2000,14400,2001,14400,2002,14400,2003,14400" return is 0 within 600 seconds

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Creds: config

validator: reports node_roles is 4

validator-0: js-script ./0015-force-register-paras.js with "2000,2001" return is 0 within 600 seconds
validator-0: js-script ./force-register-paras.js with "2000,2001" return is 0 within 600 seconds
# core 0 is shared 3:1 between paras
validator-0: js-script ./assign-core.js with "0,2000,43200,2001,14400" return is 0 within 600 seconds

Expand Down

0 comments on commit a04d480

Please sign in to comment.