From: Mark Andrews Date: Wed, 21 Jan 2026 05:01:57 +0000 (+1100) Subject: Fix timing issues in nsec3/tests_nsec3_reconfig.py X-Git-Tag: v9.21.18~24^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f01497e05b23ebc850b0a9a1c4d8eb7aa1763dbc;p=thirdparty%2Fbind9.git 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. --- diff --git a/bin/tests/system/nsec3/tests_nsec3_reconfig.py b/bin/tests/system/nsec3/tests_nsec3_reconfig.py index 26df38cfdd0..c1edd67fc73 100644 --- a/bin/tests/system/nsec3/tests_nsec3_reconfig.py +++ b/bin/tests/system/nsec3/tests_nsec3_reconfig.py @@ -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 = [