]> 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)
committerMichał Kępień <michal@isc.org>
Wed, 2 Sep 2020 20:38:11 +0000 (22:38 +0200)
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.

bin/tests/system/rndc/tests.sh

index 7142e645d483329d9ba1c2525975304ba16c0a2c..c72ad2e85c3cf71673c8460f7a451d723224212f 100644 (file)
@@ -610,7 +610,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 && {