Skip to content
Snippets Groups Projects
Unverified Commit 95c7e4f0 authored by Sebastian Kunert's avatar Sebastian Kunert Committed by GitHub
Browse files

Stabilize elastic-scaling pov-recovery test (#4958)

Timing issues in container startup have made this test flaky. We now
wait for 20 and then register the parachain.
This makes sure that the parachain node has the ability to see all relay
chain notifications it needs.
parent 299aacb5
No related merge requests found
Pipeline #484228 waiting for manual action with stages
in 8 minutes and 30 seconds
......@@ -2,7 +2,9 @@ Description: PoV recovery test
Network: ./0002-pov_recovery.toml
Creds: config
# wait 20 blocks and register parachain
# Wait 20 blocks and register parachain. This part is important for pov-recovery.
# We need to make sure that the recovering node is able to see all relay-chain
# notifications containing the candidates to recover.
validator-3: reports block height is at least 20 within 250 seconds
validator-0: js-script ./register-para.js with "2000" within 240 seconds
validator-0: parachain 2000 is registered within 300 seconds
......
......@@ -30,7 +30,7 @@ command = "polkadot"
[[parachains]]
id = 2100
chain = "elastic-scaling"
add_to_genesis = true
add_to_genesis = false
# Slot based authoring with 3 cores and 2s slot duration
[[parachains.collators]]
......
......@@ -5,12 +5,17 @@ Creds: config
alice: is up
collator-elastic: is up
# wait 20 blocks and register parachain
# configure relay chain
alice: js-script ./assign-core.js with "2100,0" return is 0 within 200 seconds
alice: js-script ./assign-core.js with "2100,1" return is 0 within 200 seconds
# Wait 20 blocks and register parachain. This part is important for pov-recovery.
# We need to make sure that the recovering node is able to see all relay-chain
# notifications containing the candidates to recover.
alice: reports block height is at least 20 within 250 seconds
alice: js-script ./register-para.js with "2100" within 240 seconds
alice: parachain 2100 is registered within 300 seconds
# configure relay chain
alice: js-script ./assign-core.js with "2100,0" return is 0 within 600 seconds
alice: js-script ./assign-core.js with "2100,1" return is 0 within 600 seconds
# check block production
collator-elastic: reports block height is at least 40 within 225 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