]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Increase dig query timeout to 2 seconds
authorMichał Kępień <michal@isc.org>
Wed, 20 Mar 2019 08:50:35 +0000 (09:50 +0100)
committerMichał Kępień <michal@isc.org>
Wed, 20 Mar 2019 08:51:18 +0000 (09:51 +0100)
The "mirror" system test expects all dig queries (including recursive
ones) to be responded to within 1 second, which turns out to be overly
optimistic in certain cases and leads to false positives being
triggered.  Increase dig query timeout used throughout the "mirror"
system test to 2 seconds in order to alleviate the issue.

(cherry picked from commit 73afbdc5525709a5eb3190101634a73d927a6a06)

bin/tests/system/mirror/tests.sh

index 98bd22dbce45247b8c37b94711ebd0d253f1656e..1171ef76937abe10d14c31fea378e89e463e9218 100644 (file)
@@ -12,7 +12,7 @@
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
 
-DIGOPTS="-p ${PORT} -b 10.53.0.1 +dnssec +time=1 +tries=1 +multi"
+DIGOPTS="-p ${PORT} -b 10.53.0.1 +dnssec +time=2 +tries=1 +multi"
 RNDCCMD="$RNDC -c $SYSTEMTESTTOP/common/rndc.conf -p ${CONTROLPORT} -s"
 
 # Wait until the transfer of the given zone to ns3 either completes successfully