mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-03 22:08:25 -04:00
[9.18] fix: test: 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. Closes #5376 Backport of MR !10586 Merge branch 'backport-5376-verify-axfr-db-gets-updated-too-fast-in-mirror-test-9.18' into 'bind-9.18' See merge request isc-projects/bind9!10610
This commit is contained in:
commit
8c80d1aaea
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue