-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[backoff] fix tests to account for jitter (grpc#37629)
Fix some flakiness caused by fixing jitter in the backoff library in grpc#37595. In the xDS retry tests, the additional jitter made it such that an extra attempt snuck in before the call deadline, so I adjusted the knobs to ensure that exactly the expected number of attempts fit into the tests. In the PF test, I rewrote the test to use a connection injector, so that it can more accurately tell the time between the connection attempts, without seeing skew due to the server startup time. Closes grpc#37629 COPYBARA_INTEGRATE_REVIEW=grpc#37629 from markdroth:xds_retry_backoff_flake_fix f35ac90 PiperOrigin-RevId: 671120341
- Loading branch information
1 parent
4f8087e
commit c83f91e
Showing
2 changed files
with
47 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters