Skip to content

Commit

Permalink
tests-extra: stabilize dnssec/expire
Browse files Browse the repository at this point in the history
  • Loading branch information
salzmdan committed Oct 10, 2024
1 parent 09110d3 commit a0ad3de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests-extra/tests/dnssec/expire/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@
serials = slave.zones_wait(zones)
serials = master.zones_wait(zones, serials) # wait for first re-sign
master.ctl("zone-freeze")
slave.ctl("zone-freeze")
t.sleep(master.dnssec(z).rrsig_lifetime + 1)
for z in zones:
resp = slave.dig(z.name, "SOA", dnssec=True)
resp.check(rcode="SERVFAIL")
resp.check_count(0, rtype="RRSIG")
if not slave.log_search("expired"):
set_err("ZONE NOT EXPIRED")
slave.ctl("zone-thaw")
master.ctl("zone-thaw")
slave.zones_wait(zones, serials)

Expand Down

0 comments on commit a0ad3de

Please sign in to comment.