-
Notifications
You must be signed in to change notification settings - Fork 125
Clean up flaky tests a bit by adding std::function support to RunWithRetry/RunFlakyBlock. #534
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
Conversation
Clean up usage of RunFlakyBlock to use std::function version, which doesn't require a context struct.
✅ Integration test succeeded!Requested by @jonsimantov on commit 0010b72 |
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.
Left two suggestions, feel free to file bugs and defer either one
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.
lgtm
By adding std::function overloads to the flaky retry functions (possible now that stlport is removed), we can clean up a lot of code that uses RunFlakyBlock and RunWithRetry.
Refactor flaky test handling in Storage to use RunWithRetry instead of RunFlakyBlock where possible - it's much cleaner.
Also add some flaky test handling in Auth and Analytics.