mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 10:10:00 -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.
(cherry picked from commit 8f413fd589)
This commit is contained in:
parent
4a5406241a
commit
fb34eb11e9
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