Fixup backing group computation time (#3170)

Fixes: https://github.com/paritytech/polkadot-sdk/issues/3165

---------

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
This commit is contained in:
Alexandru Gheorghe
2024-02-02 11:02:49 +02:00
committed by GitHub
parent 452f813668
commit 5ba8921787
4 changed files with 87 additions and 1 deletions
@@ -0,0 +1,20 @@
Description: Test we are producing blocks at 6 seconds clip
Network: ./0011-async-backing-6-seconds-rate.toml
Creds: config
# Check authority status.
alice: reports node_roles is 4
# Ensure parachains are registered.
alice: parachain 2000 is registered within 60 seconds
alice: parachain 2001 is registered within 60 seconds
# Ensure parachains made progress.
alice: reports substrate_block_height{status="finalized"} is at least 10 within 100 seconds
# This parachains should produce blocks at 6s clip, let's assume an 8s rate, allowing for
# some slots to be missed on slower machines
alice: parachain 2000 block height is at least 30 within 240 seconds
# This should already have produced the needed blocks
alice: parachain 2001 block height is at least 30 within 6 seconds