Fix ExponentialBackOffTests

This commit is contained in:
Sam Brannen 2025-06-28 19:19:42 +02:00
parent 4cdfd90882
commit ad278cd52e
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class ExponentialBackOffTests {
multiplier=2.0, \ multiplier=2.0, \
maxInterval=30000, \ maxInterval=30000, \
maxElapsedTime=%d, \ maxElapsedTime=%d, \
maxAttempts=%d]""", Long.MAX_VALUE, Integer.MAX_VALUE); maxAttempts=%d]""", Long.MAX_VALUE, Long.MAX_VALUE);
BackOffExecution execution = backOff.start(); BackOffExecution execution = backOff.start();
assertThat(execution).asString().isEqualTo("ExponentialBackOffExecution[currentInterval=n/a, multiplier=2.0, attempts=0]"); assertThat(execution).asString().isEqualTo("ExponentialBackOffExecution[currentInterval=n/a, multiplier=2.0, attempts=0]");