From: Mark Andrews Date: Thu, 2 Mar 2017 01:19:10 +0000 (+1100) Subject: allow more time for the IPv6 transfer attemt to timeout and fall over to IPv4 X-Git-Tag: v9.12.0a1~421 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d411448ceb5e3675e59aed438ae845c70f0b9f24;p=thirdparty%2Fbind9.git allow more time for the IPv6 transfer attemt to timeout and fall over to IPv4 --- diff --git a/bin/tests/system/catz/tests.sh b/bin/tests/system/catz/tests.sh index 776e0190cf8..34f17f1bb0e 100644 --- a/bin/tests/system/catz/tests.sh +++ b/bin/tests/system/catz/tests.sh @@ -461,12 +461,15 @@ status=`expr $status + $ret` n=`expr $n + 1` echo "I: checking that dom6.example is served by slave ($n)" -for try in 0 1 2 3 4 5 6 7 8 9; do +try=0 +while test $try -lt 150 +do $DIG soa dom6.example @10.53.0.2 -p 5300 > dig.out.test$n ret=0 grep "status: NOERROR" dig.out.test$n > /dev/null || ret=1 [ $ret -eq 0 ] && break sleep 1 + try=`expr $try + 1` done if [ $ret != 0 ]; then echo "I: failed"; fi status=`expr $status + $ret`