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

[1.0.4 -> main] Merge fix flaky startup catchup test #1042

Merged
merged 9 commits into from
Nov 21, 2024

Conversation

linh2931
Copy link
Member

@linh2931 linh2931 commented Nov 21, 2024

Forward #1033 with updated pattern of unlinkable blocks on the main branch.

The test on main counts the total number of unlinkable_block occurrences in all logging files and checks if it is greater than 500 or not. This is flaky because when sync fetch span is greater than 500 (default is 1000), temporary unlinkable blocks can be greater than 500.

This PR changes to check the number of consecutive unlinkable blocks in each logging file is less than sync fetch span (the worst case).

Resolves #1015

@linh2931 linh2931 requested review from heifner and greg7mdp November 21, 2024 15:22
@linh2931 linh2931 merged commit d728423 into main Nov 21, 2024
36 checks passed
@linh2931 linh2931 deleted the merge_fix_flaky_startup_catchup_test branch November 21, 2024 18:00
@ericpassmore
Copy link
Contributor

Note:start
category: Tests
component: Internal
summary: Fix nodeos_startup_catchup tests.
Note:end

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.

Test failure: nodeos_startup_catchup_if_lr_test
4 participants