From: Michał Kępień Date: Wed, 20 Mar 2019 08:50:35 +0000 (+0100) Subject: Increase dig query timeout to 2 seconds X-Git-Tag: v9.15.0~68^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=73afbdc5525709a5eb3190101634a73d927a6a06;p=thirdparty%2Fbind9.git Increase dig query timeout to 2 seconds 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. --- diff --git a/bin/tests/system/mirror/tests.sh b/bin/tests/system/mirror/tests.sh index 98bd22dbce4..1171ef76937 100644 --- a/bin/tests/system/mirror/tests.sh +++ b/bin/tests/system/mirror/tests.sh @@ -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