mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +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 c19956b3cbf0ae55303266633dad2a1eca677224)
This commit is contained in:
parent
ea48c1e322
commit
9bc7a73e50
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user