Commit c6ba51cf authored by Mark Andrews's avatar Mark Andrews

wait for log message before testing that mirror zone is correctly removed

parent 82c418ab
Pipeline #31650 passed with stages
in 34 minutes and 58 seconds
......@@ -540,7 +540,9 @@ n=`expr $n + 1`
echo_i "checking that a mirror zone can be deleted using rndc ($n)"
# Remove the mirror zone added in the previous test.
nextpart ns3/ > /dev/null
$RNDCCMD delzone verify-addzone > rndc.out.ns3.test$n 2>&1 || ret=1
wait_for_log 20 "zone verify-addzone/IN: mirror zone is no longer in use; reverting to normal recursion" ns3/ || ret=1
# Check whether the mirror zone was removed.
$DIG $DIGOPTS @ +norec verify-addzone SOA > dig.out.ns3.test$n 2>&1 || ret=1
grep "NXDOMAIN" dig.out.ns3.test$n > /dev/null || ret=1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment