From: Mark Andrews Date: Thu, 5 Feb 2026 22:39:15 +0000 (+1100) Subject: Fix timing in tests_nsec3_change.py X-Git-Tag: v9.21.19~39^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f413fd5890eef40a66be81353a3638b9bb3e875;p=thirdparty%2Fbind9.git Fix timing in tests_nsec3_change.py The zone file is updated too soon causing the reload to fail. Add a 1 second sleep to ensure the modification time has changed. --- diff --git a/bin/tests/system/nsec3/tests_nsec3_change.py b/bin/tests/system/nsec3/tests_nsec3_change.py index 860c8d3caf0..d5ec16f5b40 100644 --- a/bin/tests/system/nsec3/tests_nsec3_change.py +++ b/bin/tests/system/nsec3/tests_nsec3_change.py @@ -62,6 +62,7 @@ def after_servers_start(ns3, templates): fqdn = f"{zone}." isctest.kasp.wait_keymgr_done(ns3, zone) + time.sleep(1) shutil.copyfile(f"{nsdir}/template2.db.in", f"{nsdir}/{zone}.db") ns3.rndc(f"reload {zone}")