mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
fix: test: nsec3/tests_nsec3_change.py updates zone file too fast
The zone file is updated too soon causing the reload to fail. Add a 1 second sleep to ensure the modification time has changed. Closes #5734 Merge branch '5734-fix-tests-nsec3-change-py' into 'main' See merge request isc-projects/bind9!11525
This commit is contained in:
commit
2aba637548
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