Skip to content

Commit ad278cd

Browse files
committed
Fix ExponentialBackOffTests
1 parent 4cdfd90 commit ad278cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-core/src/test/java/org/springframework/util/ExponentialBackOffTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ void toStringContent() {
139139
multiplier=2.0, \
140140
maxInterval=30000, \
141141
maxElapsedTime=%d, \
142-
maxAttempts=%d]""", Long.MAX_VALUE, Integer.MAX_VALUE);
142+
maxAttempts=%d]""", Long.MAX_VALUE, Long.MAX_VALUE);
143143

144144
BackOffExecution execution = backOff.start();
145145
assertThat(execution).asString().isEqualTo("ExponentialBackOffExecution[currentInterval=n/a, multiplier=2.0, attempts=0]");

0 commit comments

Comments
 (0)