verify-axfr.db gets updated too fast in mirror test

Add a 1 second wait before updating verify-axfr.db so that the
modification time of the file changes.

(cherry picked from commit c19956b3cb)
This commit is contained in:
Mark Andrews 2025-06-17 13:01:38 +10:00
parent 57562474b1
commit 46665652e8

View file

@ -129,6 +129,7 @@ n=$((n + 1))
echo_i "checking that an AXFR of an updated, correctly signed mirror zone is accepted ($n)"
ret=0
nextpart ns3/named.run >/dev/null
sleep 1
cat ns2/verify-axfr.db.good.signed >ns2/verify-axfr.db.signed
reload_zone verify-axfr ${UPDATED_SERIAL_GOOD}
$RNDCCMD 10.53.0.3 retransfer verify-axfr >/dev/null 2>&1