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

*: fix flappy tests #2869

Merged
merged 2 commits into from
Feb 8, 2024
Merged

*: fix flappy tests #2869

merged 2 commits into from
Feb 8, 2024

Conversation

gsora
Copy link
Collaborator

@gsora gsora commented Feb 8, 2024

This PR:

  • fixes a data race in p2p.Sender which was flapping in integration and compose tests
  • makes "prepare round 2, decide round 3" QBFT internal test more reliable; tested empirically by running the test 100.000 times, usually the flapping issue manifested itself after a couple runs

category: bug
ticket: #2763

Closes #2763.

This PR:
 - fixes a data race in p2p.Sender which was flapping in integration and compose tests
 - makes "prepare round 2, decide round 3" QBFT internal test more reliable; tested empirically by running the test 100.000 times, usually the flapping issue manifested itself after a couple runs
@gsora gsora self-assigned this Feb 8, 2024
Copy link

sonarcloud bot commented Feb 8, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

codecov bot commented Feb 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0801b59) 53.39% compared to head (1be9c52) 53.56%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2869      +/-   ##
==========================================
+ Coverage   53.39%   53.56%   +0.17%     
==========================================
  Files         200      200              
  Lines       28059    28119      +60     
==========================================
+ Hits        14982    15062      +80     
+ Misses      11211    11193      -18     
+ Partials     1866     1864       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gsora gsora added the merge when ready Indicates bulldozer bot may merge when all checks pass label Feb 8, 2024
@obol-bulldozer obol-bulldozer bot merged commit 24d8cc1 into main Feb 8, 2024
12 checks passed
@obol-bulldozer obol-bulldozer bot deleted the gsora/fix-flappy-tests branch February 8, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

p2p: fix test-related data race
3 participants