From 9bc7a73e50e2fff6397f375e360a2e56db3c47e5 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 17 Jun 2025 13:01:38 +1000 Subject: [PATCH] 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) --- bin/tests/system/mirror/tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/tests/system/mirror/tests.sh b/bin/tests/system/mirror/tests.sh index 77a88f581f..58a634f820 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