Skip to content

More v3 candidates zombienet-sdk tests - #12743

Open
mchristou wants to merge 10 commits into
masterfrom
mchr-more-v3-tests
Open

More v3 candidates zombienet-sdk tests#12743
mchristou wants to merge 10 commits into
masterfrom
mchr-more-v3-tests

Conversation

@mchristou

Copy link
Copy Markdown
Contributor

Coverage of #12164

Scenario 1: added in existing test: v3_rolling_upgrade
Scenario 2/3: covered in #12695
Scenario 4: v3_old_validator_dispute_storm.rs
Scenario 5: manual test
Scenario 6: parameter changes added to doesnt_break_parachains_test

NOTE v3_old_validator_dispute_storm is expensive to add it in CI. Added here to run it manually while its still relevant

@mchristou mchristou added R0-no-crate-publish-required The change does not require any crates to be re-published. T10-tests This PR/Issue is related to tests. labels Jul 27, 2026
@mchristou
mchristou marked this pull request as ready for review July 28, 2026 11:38
@mchristou
mchristou requested review from a team as code owners July 28, 2026 11:38
@alindima

Copy link
Copy Markdown
Contributor

Scenario 5: manual test

was that performed? all good?

NOTE v3_old_validator_dispute_storm is expensive to add it in CI. Added here to run it manually while its still relevant

I assume it runs fine locally? is it reliable over multiple runs?

@alindima alindima left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good

};

#[rstest]
#[case::v2(None, false)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's have a single param named use_v3_candidates: bool and assume the chain name based on whether or not it's enabled

assert_finality_lag(&old_para_node.wait_client().await?, 6).await?;

for (name, node) in [("collator-3000", &para_node), ("old-collator-3000", &old_para_node)] {
node.wait_metric_with_timeout(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make the minimum value higher? the throughput expected earlier in this test is at least 40 backed candidates in 50 relay chain blocks so let's check that a higher numer of candidates is produced by each

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published. T10-tests This PR/Issue is related to tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants