]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix cds test error
authorEvan Hunt <each@isc.org>
Sun, 17 Oct 2021 18:45:21 +0000 (11:45 -0700)
committerEvan Hunt <each@isc.org>
Mon, 18 Oct 2021 21:13:38 +0000 (14:13 -0700)
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.

bin/tests/system/cds/checktime.pl

index 692b840adc4067bd6f29348cb22b1e33d8cdf752..aa742106ba0c1bc4d04ec9f5cacf92e6e1380533 100644 (file)
@@ -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;