From 73afbdc5525709a5eb3190101634a73d927a6a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Wed, 20 Mar 2019 09:50:35 +0100 Subject: [PATCH] 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. --- bin/tests/system/mirror/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/mirror/tests.sh b/bin/tests/system/mirror/tests.sh index 98bd22dbce..1171ef7693 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