1 Commits

Author SHA1 Message Date
Chase Diem
ff4535fecf GH-126: ExpRandomBackOffPolicy: fix maxInterval
Fixes https://github.com/spring-projects/spring-retry/issues/126

The `ExponentialRandomBackOffPolicy` doesn't take into account a `maxInterval` for the next `sleep`
causing a very long sleep problem eventually

* Fallback to `super.getMaxInterval()` when `next` from random is too big
* Fix JavaDocs for ranges
* Add test for `maxInterval`
2019-10-22 11:02:57 -04:00