]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Be even more lenient in allowing timing differences 13237/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 12 Sep 2023 10:11:29 +0000 (12:11 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 12 Sep 2023 10:11:29 +0000 (12:11 +0200)
pdns/recursordist/test-aggressive_nsec_cc.cc

index d62b146b9e6de9895a243976113b0b71a57ac920..249e9b561f74a6fbb5d706558216ce2d783d3f5d 100644 (file)
@@ -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)