-
Notifications
You must be signed in to change notification settings - Fork 519
tests: add retries to TestCatchpointTrackerWaitNotBlocking #6472
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
tests: add retries to TestCatchpointTrackerWaitNotBlocking #6472
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6472 +/- ##
==========================================
- Coverage 51.13% 50.95% -0.19%
==========================================
Files 668 661 -7
Lines 112101 112003 -98
==========================================
- Hits 57327 57066 -261
- Misses 51907 52058 +151
- Partials 2867 2879 +12 ☔ View full report in Codecov by Sentry. |
jannotti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree that you might as well wait a little longer that 1ms.
Summary
TestCatchpointTrackerWaitNotBlocking started failing after migration to GH Actions. Failure example: https://github.com/algorand/go-algorand/actions/runs/18669344175/job/53227121869?pr=6469
Fixed by adding retries into assertion loop in order to give block syncer goroutine to finish flushing blocks.
Test Plan
This is a test change