From: Evan Hunt Date: Sun, 17 Oct 2021 18:45:21 +0000 (-0700) Subject: Fix cds test error X-Git-Tag: v9.17.20~39^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ecaccb961bb1dd3a338a1c6ef26e009e4ea5451;p=thirdparty%2Fbind9.git Fix cds test error The margin of error (up to 2 seconds) allowed for the inception time in the cds system test was a bit too small, and has been increased to 3 seconds. --- diff --git a/bin/tests/system/cds/checktime.pl b/bin/tests/system/cds/checktime.pl index 692b840adc4..aa742106ba0 100644 --- a/bin/tests/system/cds/checktime.pl +++ b/bin/tests/system/cds/checktime.pl @@ -22,4 +22,4 @@ while (<>) { die "missing notbefore time" unless $notbefore; die "missing inception time" unless $inception; my $delta = $inception - $notbefore; -die "bad inception time $delta" unless abs($delta - $target) < 3; +die "bad inception time $delta" unless abs($delta - $target) <= 3;