mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
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:
@@ -129,6 +129,7 @@ n=$((n + 1))
|
|||||||
echo_i "checking that an AXFR of an updated, correctly signed mirror zone is accepted ($n)"
|
echo_i "checking that an AXFR of an updated, correctly signed mirror zone is accepted ($n)"
|
||||||
ret=0
|
ret=0
|
||||||
nextpart ns3/named.run >/dev/null
|
nextpart ns3/named.run >/dev/null
|
||||||
|
sleep 1
|
||||||
cat ns2/verify-axfr.db.good.signed >ns2/verify-axfr.db.signed
|
cat ns2/verify-axfr.db.good.signed >ns2/verify-axfr.db.signed
|
||||||
reload_zone verify-axfr ${UPDATED_SERIAL_GOOD}
|
reload_zone verify-axfr ${UPDATED_SERIAL_GOOD}
|
||||||
$RNDCCMD 10.53.0.3 retransfer verify-axfr >/dev/null 2>&1
|
$RNDCCMD 10.53.0.3 retransfer verify-axfr >/dev/null 2>&1
|
||||||
|
Reference in New Issue
Block a user