]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Tweak timings in serve-stale system test
authorMatthijs Mekking <matthijs@isc.org>
Tue, 10 May 2022 13:09:29 +0000 (15:09 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 31 May 2022 13:51:51 +0000 (13:51 +0000)
Give a little bit more time if we wait on a time out from the
authoritative (aka resolver failure), and give up after one try
(because the second attempt will likely result in a different EDE).

(cherry picked from commit f764cee136a5a2c4fa6fc443a2b748d5ea85b449)

bin/tests/system/serve-stale/tests.sh

index e50e431017aa3b100e070047b91e43763fbc3303..ceea322a662aa837928fc979eb6c3e2c062e36a0 100755 (executable)
@@ -14,7 +14,7 @@
 . ../conf.sh
 
 RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
-DIG="$DIG +time=11"
+DIG="$DIG +time=12 +tries=1"
 
 max_stale_ttl=$(sed -ne 's,^[[:space:]]*max-stale-ttl \([[:digit:]]*\).*,\1,p' $TOP_SRCDIR/bin/named/config.c)
 stale_answer_ttl=$(sed -ne 's,^[[:space:]]*stale-answer-ttl \([[:digit:]]*\).*,\1,p' $TOP_SRCDIR/bin/named/config.c)