The test is often run on heavily loaded machines which will effect the
precision of the test.
Fixes: https://tracker.ceph.com/issues/50378
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
9a369ef119dbc10c0dbf6da286a8eb6faa14606c)
*/
double expected = -1*std::log(0.5)/rate*max*duration;
std::cerr << "t " << total << " e " << expected << std::endl;
- ASSERT_LT(std::abs(total-expected)/expected, 0.01);
+ ASSERT_LT(std::abs(total-expected)/expected, 0.05);
}