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

Rework time dilution in F3 tests and refine assertions #862

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

masih
Copy link
Member

@masih masih commented Jan 30, 2025

Progress the clock during tests independently of condition check. Rework the assertions to use built-in eventual assertion. Use consistent names for the asserting functions.

Fixes #818
Fixes #847

@masih masih force-pushed the masih/fix-flaky-f3-teste branch 2 times, most recently from 84bdd9f to 3606fdd Compare January 30, 2025 20:59
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.13%. Comparing base (1e488a2) to head (8ad4a96).
Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #862      +/-   ##
==========================================
- Coverage   67.16%   67.13%   -0.03%     
==========================================
  Files          83       84       +1     
  Lines        9064     9129      +65     
==========================================
+ Hits         6088     6129      +41     
- Misses       2429     2456      +27     
+ Partials      547      544       -3     
Files with missing lines Coverage Δ
partial_msg.go 55.93% <100.00%> (-2.02%) ⬇️

... and 8 files with indirect coverage changes

@BigLep BigLep added this to the M2: Mainnet Passive Testing milestone Jan 30, 2025
@BigLep BigLep requested a review from Kubuxu January 30, 2025 23:10
@masih
Copy link
Member Author

masih commented Jan 31, 2025

Hold off on reviews until I crack the intermittent failures on CI. Regardless, early feedback is always welcomed 🙏

@masih masih force-pushed the masih/fix-flaky-f3-teste branch 2 times, most recently from 533d689 to 0791531 Compare January 31, 2025 18:12
@masih
Copy link
Member Author

masih commented Jan 31, 2025

@Kubuxu this is ready for review whenever you get a chance. Thanks

@masih masih added this pull request to the merge queue Jan 31, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 31, 2025
Progress the clock during tests independently of condition check. Rework
the assertions to use built-in eventual assertion. Use consistent names
for the asserting functions.

Fixes #818
Fixes #847
@masih masih force-pushed the masih/fix-flaky-f3-teste branch from 0791531 to 8ad4a96 Compare January 31, 2025 19:01
@masih masih enabled auto-merge January 31, 2025 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In review
Development

Successfully merging this pull request may close these issues.

TestF3LateBootstrap is flaky Review and rewrite more explicit assertion logic for f3_test.go
3 participants