-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-464: Fix backOff API in UniformRandomBackOffPolicy
Fixes: #464 Issue link: #464 When `maxBackOffPeriod` is less than `minBackOffPeriod`, delta is taken taken as zero in `UniformRandomBackOffPolicy` `backOff()` method. * Update tests to use `DummySleeper` * Extract `UniformRandomBackOffPolicy` `backOffSuppliers` into local variables * Modify `UniformRandomBackOffPolicy` tests
- Loading branch information
1 parent
db47bc6
commit c0a4941
Showing
2 changed files
with
27 additions
and
3 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