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.
This commit is contained in:
Mark Andrews 2026-02-06 09:39:15 +11:00
parent 42ab76d9e1
commit 8f413fd589

View file

@ -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}")