]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
verify-axfr.db gets updated too fast in mirror test
authorMark Andrews <marka@isc.org>
Tue, 17 Jun 2025 03:01:38 +0000 (13:01 +1000)
committerMark Andrews <marka@isc.org>
Thu, 19 Jun 2025 15:49:29 +0000 (15:49 +0000)
Add a 1 second wait before updating verify-axfr.db so that the
modification time of the file changes.

bin/tests/system/mirror/tests.sh

index 2d02320006fa1611eb9bc708160a0ce57aaa8c79..c7f7658fd73562f31ca954cb86881f3e8b49276e 100644 (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