Skip to content

Commit f7eb368

Browse files
authored
Update IXExponentialBackoffTest.cpp
1 parent 7360333 commit f7eb368

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/IXExponentialBackoffTest.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ namespace ix
2929
REQUIRE(calculateRetryWaitMilliseconds(20, 10000, 100) == 10000);
3030
REQUIRE(calculateRetryWaitMilliseconds(25, 10000, 100) == 10000);
3131

32-
// FIXME bug when retrycount > 25
32+
// Things get special after 26 retries
33+
REQUIRE(calculateRetryWaitMilliseconds(26, 10000, 100) == 10000);
34+
REQUIRE(calculateRetryWaitMilliseconds(27, 10000, 100) == 10000);
35+
REQUIRE(calculateRetryWaitMilliseconds(27, 10000, 100) == 10000);
3336
}
3437
}
3538

0 commit comments

Comments
 (0)