From 4cb0873a0a44f3b6b6c99e9de5aea10b60d7eb2c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 28 Feb 2018 17:14:30 +1100 Subject: [PATCH] wait for 'all zones loaded' rather than 'reloading zones succeeded' which just indicates that everything kicked off ok --- bin/tests/system/views/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/views/tests.sh b/bin/tests/system/views/tests.sh index d94cf30696..537928fc81 100644 --- a/bin/tests/system/views/tests.sh +++ b/bin/tests/system/views/tests.sh @@ -39,8 +39,8 @@ $RNDCCMD 10.53.0.3 reload 2>&1 | sed 's/^/ns3 /' | cat_i echo_i "wait for reload" a=0 b=0 for i in 1 2 3 4 5 6 7 8 9 0; do - nextpart ns2/named.run | grep "reloading zones succeeded" > /dev/null && a=1 - nextpart ns3/named.run | grep "reloading zones succeeded" > /dev/null && b=1 + nextpart ns2/named.run | grep "all zones loaded" > /dev/null && a=1 + nextpart ns3/named.run | grep "all zones loaded" > /dev/null && b=1 [ $a -eq 1 -a $b -eq 1 ] && break sleep 1 done