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

chore: 24 second epochs in CI #10646

Merged
merged 8 commits into from
Dec 19, 2024

Conversation

just-mitch
Copy link
Collaborator

@just-mitch just-mitch commented Dec 12, 2024

All tests in CI now sub 30 minutes.

Locally I'm running 4epochs in 13 minutes, and reorg test in 20 minutes.

@just-mitch just-mitch linked an issue Dec 12, 2024 that may be closed by this pull request
@just-mitch just-mitch added the network-all Run this CI job. label Dec 12, 2024
@just-mitch just-mitch marked this pull request as draft December 12, 2024 13:35
@just-mitch just-mitch force-pushed the 10644-chore-make-kind-tests-faster-in-normal-ci branch from f65635e to 761a5ea Compare December 18, 2024 17:21
@just-mitch just-mitch force-pushed the 10644-chore-make-kind-tests-faster-in-normal-ci branch from 761a5ea to 262f621 Compare December 18, 2024 21:59
@just-mitch just-mitch marked this pull request as ready for review December 18, 2024 21:59
// This is in place to ensure that we don't have a bad regression in the network
const maxMissedSlots = Math.floor(Number(epochDuration) * MAX_MISSED_SLOT_PERCENT);
expect(missedSlots).toBeLessThanOrEqual(maxMissedSlots);
expect(newTips.pending).toBeGreaterThan(controlTips.pending);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

When we have short epochs (e.g. 4), its very reasonable for us to only have 1 block get produced: the nodes that restart could be proposers for all 4 blocks, and it could take about a minute for them to come back online after the restart.

@just-mitch just-mitch enabled auto-merge (squash) December 19, 2024 00:39
@ludamad ludamad disabled auto-merge December 19, 2024 15:19
@ludamad ludamad merged commit 6fe5d19 into master Dec 19, 2024
47 of 49 checks passed
@ludamad ludamad deleted the 10644-chore-make-kind-tests-faster-in-normal-ci branch December 19, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
network-all Run this CI job.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: make kind tests faster in normal CI
3 participants