-
Notifications
You must be signed in to change notification settings - Fork 2.4k
chore: [Foss] Sync public: Add retry and logging for dlq/http/cors flaky requests #2428
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
chore: [Foss] Sync public: Add retry and logging for dlq/http/cors flaky requests #2428
Conversation
from unittest.case import skipIf | ||
|
||
from tenacity import stop_after_attempt, retry_if_exception_type, after_log, wait_exponential, retry, wait_random |
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.
Where is tenacity coming from?
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.
Tenacity is a retry library we used in integration tests and it has Apache 2.0 liciense.
Codecov Report
@@ Coverage Diff @@
## develop #2428 +/- ##
===========================================
+ Coverage 93.58% 94.43% +0.85%
===========================================
Files 90 98 +8
Lines 6124 7266 +1142
Branches 1260 1511 +251
===========================================
+ Hits 5731 6862 +1131
- Misses 183 195 +12
+ Partials 210 209 -1
Continue to review full report at Codecov.
|
Description of changes:
add retry and logging for dlq/http/cors flaky requests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.