mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 11:29:59 -04:00
[9.20] fix: test: Fix timing issues in nsec3/tests_nsec3_reconfig.py
`ns3/nsec3-ent.kasp.db` is regenerated too fast resulting in the subsequent `rndc reload` call failing. This has been fixed. Closes #5707 Backport of MR !11467 Merge branch 'backport-5707-timing-issues-in-nsec3-tests_nsec3_reconfig-py-9.20' into 'bind-9.20' See merge request isc-projects/bind9!11468
This commit is contained in:
commit
090f33849b
1 changed files with 2 additions and 0 deletions
|
|
@ -324,6 +324,7 @@ def test_nsec3_ent(ns3, templates):
|
|||
assert match in str(rrset[0])
|
||||
|
||||
# remove a name, bump the SOA, and reload
|
||||
time.sleep(1)
|
||||
templates.render(f"{ns3.identifier}/nsec3-ent.kasp.db", {"serial": 2})
|
||||
|
||||
messages = [
|
||||
|
|
@ -347,6 +348,7 @@ def test_nsec3_ent(ns3, templates):
|
|||
assert response.rcode() == dns.rcode.NXDOMAIN
|
||||
|
||||
# add a name with an ENT, bump the SOA, and reload ensuring the time stamp changes
|
||||
time.sleep(1)
|
||||
templates.render(f"{ns3.identifier}/nsec3-ent.kasp.db", {"serial": 3})
|
||||
|
||||
messages = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue