Commit 7575359 1 parent 315d7fe commit 7575359 Copy full SHA for 7575359
File tree 1 file changed +2
-2
lines changed
core/src/test/java/com/linecorp/armeria/client/retry
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ void nonPrecomputed() {
56
56
// Not precomputed, should fallback to computation and return a correct value.
57
57
assertThat (backoff .nextDelayMillis (31 )).isEqualTo (10737418240L );
58
58
59
- ExponentialBackoff backoff2 = Backoff .builderForExponential ()
59
+ final Backoff backoff2 = Backoff .builderForExponential ()
60
60
.initialDelayMillis (10 )
61
61
.maxDelayMillis (Long .MAX_VALUE )
62
62
.multiplier (2.0 )
@@ -76,7 +76,7 @@ void overflow() {
76
76
assertThat (backoff .nextDelayMillis (3 )).isEqualTo (Long .MAX_VALUE );
77
77
assertThat (backoff .nextDelayMillis (4 )).isEqualTo (Long .MAX_VALUE );
78
78
79
- ExponentialBackoff backoff2 = Backoff .builderForExponential ()
79
+ final Backoff backoff2 = Backoff .builderForExponential ()
80
80
.initialDelayMillis (Long .MAX_VALUE / 3 )
81
81
.maxDelayMillis (Long .MAX_VALUE )
82
82
.multiplier (2.0 )
You can’t perform that action at this time.
0 commit comments