Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate 0009-approval-voting-coalescing.zndsl to zombienet-sdk #7666

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

alexggh
Copy link
Contributor

@alexggh alexggh commented Feb 21, 2025

Fixes: #7651

@alexggh alexggh requested a review from a team as a code owner February 21, 2025 17:28
@alexggh alexggh requested a review from pepoviola February 21, 2025 17:28
Comment on lines 48 to 75
.with_parachain(|p| {
p.with_id(2000)
.with_default_command("undying-collator")
.with_default_image(
std::env::var("COL_IMAGE")
.unwrap_or("docker.io/paritypr/colander:latest".to_string())
.as_str(),
)
.cumulus_based(false)
.with_default_args(vec![("-lparachain=debug").into()])
.with_collator(|n| n.with_name("collator-undying-2000"))
})
.with_parachain(|p| {
p.with_id(2001)
.with_default_command("undying-collator")
.with_default_image(
std::env::var("COL_IMAGE")
.unwrap_or("docker.io/paritypr/colander:latest".to_string())
.as_str(),
)
.cumulus_based(false)
.with_default_args(vec![("-lparachain=debug").into()])
.with_collator(|n| n.with_name("collator-undying-2001"))
})
.with_parachain(|p| {
p.with_id(2002)
.with_default_command("undying-collator")
.with_default_image(
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't we dedup ? Feels weird to just copy paste all of these para config.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I kind of copy-pasted from other tests @pepoviola is there a more elegant way to express all this identical parachains where just the id differs ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

:D never mind, I was lazy it is easy to avoid duplication :D

@@ -449,6 +441,22 @@ zombienet-polkadot-functional-async-backing-6-seconds-rate:
- unset NEXTEST_SUCCESS_OUTPUT
- cargo nextest run --archive-file ./artifacts/polkadot-zombienet-tests.tar.zst --no-capture -- functional::async_backing_6_seconds_rate::async_backing_6_seconds_rate_test

zombienet-polkadot-functional-approval-voting-coalescing::
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can move this test to gha as part of this migration, since we need to move to gha at some point to shutdown gitlab. I can push those changes here @alexggh if you are agree?
Thx!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, definitely, we don't want to migrate twice, so feel free to push here whatever needs pushing.

alexggh and others added 2 commits February 24, 2025 17:15
@pepoviola pepoviola requested a review from a team as a code owner February 24, 2025 17:36
@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/13505640210
Failed job name: test-linux-stable-no-try-runtime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate 0009-approval-voting-coalescing.zndsl
3 participants