mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
Elastic scaling: add e2e test (#3929)
On top of https://github.com/paritytech/polkadot-sdk/pull/3879 I've also moved the previous test where we ensure multiple cores per para doesn't break non elastic parachains. --------- Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> Co-authored-by: Javier Viola <363911+pepoviola@users.noreply.github.com>
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
Description: Test that a paraid acquiring multiple cores does not brick itself if ElasticScalingMVP feature is enabled in genesis
|
||||
Network: ./0002-elastic-scaling-doesnt-break-parachains.toml
|
||||
Creds: config
|
||||
|
||||
# Check authority status.
|
||||
validator: reports node_roles is 4
|
||||
|
||||
validator: reports substrate_block_height{status="finalized"} is at least 10 within 100 seconds
|
||||
|
||||
# Ensure parachain was able to make progress.
|
||||
validator: parachain 2000 block height is at least 10 within 200 seconds
|
||||
|
||||
# Register the second core assigned to this parachain.
|
||||
alice: js-script ./assign-core.js with "2000,0" return is 0 within 600 seconds
|
||||
alice: js-script ./assign-core.js with "2000,1" return is 0 within 600 seconds
|
||||
|
||||
validator: reports substrate_block_height{status="finalized"} is at least 35 within 100 seconds
|
||||
|
||||
# Ensure parachain is now making progress.
|
||||
validator: parachain 2000 block height is at least 30 within 200 seconds
|
||||
Reference in New Issue
Block a user