Skip to content

Commit

Permalink
Update IXExponentialBackoffTest.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bsergean authored Feb 17, 2022
1 parent 7360333 commit f7eb368
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/IXExponentialBackoffTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit f7eb368

Please sign in to comment.