mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 05:19:59 -04:00
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:
parent
42ab76d9e1
commit
8f413fd589
1 changed files with 1 additions and 0 deletions
|
|
@ -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}")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue