-
Notifications
You must be signed in to change notification settings - Fork 90
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: fix flakiness in subscriberIT integration test #476
fix: fix flakiness in subscriberIT integration test #476
Conversation
Adding delivery attempt count to PubsubMessages as a message attribute, and creating helper function to allow users to get the count without knowing implementation details.
lettering is not enabled
Codecov Report
@@ Coverage Diff @@
## master #476 +/- ##
=========================================
Coverage 79.17% 79.17%
Complexity 323 323
=========================================
Files 21 21
Lines 2925 2925
Branches 166 166
=========================================
Hits 2316 2316
Misses 541 541
Partials 68 68 Continue to review full report at Codecov.
|
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.
Looks much better than what I had. Thank you!
The subscriber sync pull integration test is still flaky because the PullRequest does not always return the max amount of messages requested. Adding retries to the synchronous pull operations to ensure all messages are received.
Fixes #435 ☕️