From: Otto Moerbeek Date: Tue, 12 Sep 2023 10:11:29 +0000 (+0200) Subject: Be even more lenient in allowing timing differences X-Git-Tag: rec-5.0.0-alpha1~4^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F13237%2Fhead;p=thirdparty%2Fpdns.git Be even more lenient in allowing timing differences --- diff --git a/pdns/recursordist/test-aggressive_nsec_cc.cc b/pdns/recursordist/test-aggressive_nsec_cc.cc index d62b146b9e..249e9b561f 100644 --- a/pdns/recursordist/test-aggressive_nsec_cc.cc +++ b/pdns/recursordist/test-aggressive_nsec_cc.cc @@ -1121,7 +1121,7 @@ BOOST_AUTO_TEST_CASE(test_aggressive_nsec_replace) auto diff2 = time.udiff(true); // Check that replace is about equally fast as insert - BOOST_CHECK(diff1 < diff2 * 1.3 && diff2 < diff1 * 1.3); + BOOST_CHECK(diff1 < diff2 * 2 && diff2 < diff1 * 2); } BOOST_AUTO_TEST_CASE(test_aggressive_nsec_wiping)