Skip to content

Commit

Permalink
Fix a flaky zombienet test - 0004-coretime-smoke-test (paritytech#6236)
Browse files Browse the repository at this point in the history
In the test log I noticed that the batch transaction which configures
the coretime chain fails. However when rerunning the transaction
manually - it worked. Then I noticed that the coretime chain is
initially registered via zombienet and then re-registered via
`0004-configure-relay.js`. Because of this there is a period of time
when it's not producing blocks and `0004-configure-broker.js` fails to
setup the coretime chain. My theory is that the transaction has failed
because the coretime chain is stalled during the re-registration.

Fixes paritytech#6226
  • Loading branch information
tdimitrov authored and mordamax committed Oct 29, 2024
1 parent 3d11c7f commit 0e4bcce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions polkadot/zombienet_tests/smoke/0004-coretime-smoke-test.zndsl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ coretime-collator: is up
# configure relay chain
alice: js-script ./0004-configure-relay.js with "" return is 0 within 600 secs

# Coretime chain should be producing blocks when the extrinsic is sent
alice: parachain 1005 block height is at least 10 within 120 seconds

# configure broker chain
coretime-collator: js-script ./0004-configure-broker.js with "" return is 0 within 600 secs

Expand Down

0 comments on commit 0e4bcce

Please sign in to comment.