]> 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:15:54 +0000 (07:15 +1000)
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 57e066d553f89d92a57fe6b18e9a3b3d988a3797..23dd704379d7678cda9da5ece7734aed4db6ba13 100644 (file)
@@ -580,7 +580,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 && {