From d411448ceb5e3675e59aed438ae845c70f0b9f24 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 2 Mar 2017 12:19:10 +1100 Subject: [PATCH] allow more time for the IPv6 transfer attemt to timeout and fall over to IPv4 --- bin/tests/system/catz/tests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/tests/system/catz/tests.sh b/bin/tests/system/catz/tests.sh index 776e0190cf..34f17f1bb0 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`