From: Mark Andrews Date: Tue, 17 Jun 2025 03:01:38 +0000 (+1000) Subject: verify-axfr.db gets updated too fast in mirror test X-Git-Tag: v9.20.11~20^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bc7a73e50e2fff6397f375e360a2e56db3c47e5;p=thirdparty%2Fbind9.git 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) --- diff --git a/bin/tests/system/mirror/tests.sh b/bin/tests/system/mirror/tests.sh index 77a88f581f9..58a634f8206 100644 --- a/bin/tests/system/mirror/tests.sh +++ b/bin/tests/system/mirror/tests.sh @@ -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