]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Increase timeout for reload-based kasp signing checks 12151/head
authorMichal Nowak <mnowak@isc.org>
Mon, 1 Jun 2026 12:30:23 +0000 (12:30 +0000)
committerMichal Nowak <mnowak@isc.org>
Mon, 1 Jun 2026 13:58:56 +0000 (15:58 +0200)
After reloading an inline-signed zone from file, named must re-read it,
detect the deltas and generate RRSIGs before the answer is signed, which
can take longer than 5 seconds on a loaded CI host and cause spurious
update_is_signed() timeouts. Bump these reload-based checks to 10
seconds, matching cb_ixfr_is_signed.

Assisted-by: Claude:claude-opus-4-8
bin/tests/system/kasp/tests_kasp.py

index 7fc2805031024d314bfb3ab99befd5a059534bc9..b72aece01ae6e85a2148aa34956fb3db57b7b9ab 100644 (file)
@@ -907,7 +907,7 @@ def test_kasp_default(ns3):
 
     expected_updates = [f"a.{zone}. A 10.0.0.11", f"d.{zone}. A 10.0.0.44"]
     for update in expected_updates:
-        isctest.run.retry_with_timeout(update_is_signed, timeout=5)
+        isctest.run.retry_with_timeout(update_is_signed, timeout=10)
 
     # Move the private key file, a rekey event should not introduce
     # replacement keys.
@@ -1043,7 +1043,7 @@ def test_kasp_dynamic(ns3):
     expected_updates = [f"a.{zone}. A 10.0.0.1", f"d.{zone}. A 10.0.0.44"]
 
     for update in expected_updates:
-        isctest.run.retry_with_timeout(update_is_signed, timeout=5)
+        isctest.run.retry_with_timeout(update_is_signed, timeout=10)
 
     # Dynamic, and inline-signing.
     zone = "dynamic-inline-signing.kasp"
@@ -1080,7 +1080,7 @@ def test_kasp_dynamic(ns3):
 
     expected_updates = [f"a.{zone}. A 10.0.0.11", f"d.{zone}. A 10.0.0.44"]
     for update in expected_updates:
-        isctest.run.retry_with_timeout(update_is_signed, timeout=5)
+        isctest.run.retry_with_timeout(update_is_signed, timeout=10)
 
     # Dynamic, signed, and inline-signing.
     isctest.log.info("check dynamic signed, and inline-signed zone")