]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Increase zone load timeout in the "rndc" test
authorMark Andrews <marka@isc.org>
Mon, 31 Aug 2020 12:09:38 +0000 (22:09 +1000)
committerMark Andrews <marka@isc.org>
Wed, 2 Sep 2020 21:41:30 +0000 (21:41 +0000)
The "huge.zone" zone can take longer than 100 seconds to load when
running under a sanitizer.  Increase the relevant zone load timeout to
prevent intermittent failures of the "rndc" system test.

(cherry picked from commit fd08918df599d66086dc00cf7f2f9e3105399df3)

bin/tests/system/rndc/tests.sh

index 2af855aa2820b23c99b3c60dc80a3e18ca4f2533..65067a5f79b5a490c9993a223cd6e5c53d6aa988 100644 (file)
@@ -611,7 +611,7 @@ n=`expr $n + 1`
 echo_i "wait for the zones to be loaded ($n)"
 ret=1
 try=0
-while test $try -lt 100
+while test $try -lt 180
 do
     sleep 1
     sed -n "$cur,"'$p' < ns6/named.run | grep "any newly configured zones are now loaded" > /dev/null && {