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.21.10~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c19956b3cbf0ae55303266633dad2a1eca677224;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. --- diff --git a/bin/tests/system/mirror/tests.sh b/bin/tests/system/mirror/tests.sh index 2d02320006f..c7f7658fd73 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