diff --git a/test/IXExponentialBackoffTest.cpp b/test/IXExponentialBackoffTest.cpp index 74d15c72..417f84d6 100644 --- a/test/IXExponentialBackoffTest.cpp +++ b/test/IXExponentialBackoffTest.cpp @@ -29,7 +29,10 @@ namespace ix REQUIRE(calculateRetryWaitMilliseconds(20, 10000, 100) == 10000); REQUIRE(calculateRetryWaitMilliseconds(25, 10000, 100) == 10000); - // FIXME bug when retrycount > 25 + // Things get special after 26 retries + REQUIRE(calculateRetryWaitMilliseconds(26, 10000, 100) == 10000); + REQUIRE(calculateRetryWaitMilliseconds(27, 10000, 100) == 10000); + REQUIRE(calculateRetryWaitMilliseconds(27, 10000, 100) == 10000); } }