mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 23:25:38 +00:00
Loop 'I:checking that large rdatasets loaded' in case the zone transfer has not yet completed
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: tests.sh,v 1.13 2012/02/13 23:46:23 marka Exp $
|
# $Id: tests.sh,v 1.14 2012/02/15 00:50:59 marka Exp $
|
||||||
|
|
||||||
SYSTEMTESTTOP=..
|
SYSTEMTESTTOP=..
|
||||||
. $SYSTEMTESTTOP/conf.sh
|
. $SYSTEMTESTTOP/conf.sh
|
||||||
@@ -117,12 +117,17 @@ done
|
|||||||
status=`expr $status + $ret`
|
status=`expr $status + $ret`
|
||||||
|
|
||||||
echo "I:checking that large rdatasets loaded"
|
echo "I:checking that large rdatasets loaded"
|
||||||
|
for i in 0 1 2 3 4 5 6 7 8 9
|
||||||
|
do
|
||||||
ret=0
|
ret=0
|
||||||
for a in a b c
|
for a in a b c
|
||||||
do
|
do
|
||||||
$DIG +tcp txt ${a}.large @10.53.0.2 -p 5300 > dig.out
|
$DIG +tcp txt ${a}.large @10.53.0.2 -p 5300 > dig.out
|
||||||
grep "status: NOERROR" dig.out > /dev/null || ret=1
|
grep "status: NOERROR" dig.out > /dev/null || ret=1
|
||||||
done
|
done
|
||||||
|
[ $ret -eq 0 ] && break
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
[ $ret -eq 0 ] || echo "I:failed"
|
[ $ret -eq 0 ] || echo "I:failed"
|
||||||
status=`expr $status + $ret`
|
status=`expr $status + $ret`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user