]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Bump edns-expire refresh timeout to 30 seconds 12153/head
authorMichal Nowak <mnowak@isc.org>
Mon, 1 Jun 2026 12:33:59 +0000 (12:33 +0000)
committerMichal Nowak <mnowak@isc.org>
Mon, 1 Jun 2026 14:38:48 +0000 (16:38 +0200)
Rarely, RNDC fails to refresh the zone on FreeBSD in the default 10
seconds, causing test_edns_expire_refresh to fail with a TimeoutExpired
on the "rndc refresh edns-expire." call.  Give it more time, the same
way the reconfigure timeout was bumped in
test_reconfiguration_when_zone_transfer_is_in_the_middle_of_soa_query.

Assisted-by: Claude:claude-opus-4-8
(cherry picked from commit c93d68a36b5cd42370c01c501986cd0d2568ade4)

bin/tests/system/xfer/tests_xfer.py

index 2adb5ea2b972213eb3c8c67592a3ba809ac30dd0..cfeffc52d0b37542ca2d96255be8202fd2c93553 100644 (file)
@@ -428,7 +428,7 @@ def test_edns_expire_from_secondary(ns7):
 def test_edns_expire_refresh(ns7):
     time.sleep(1)
     with ns7.watch_log_from_here() as watcher:
-        ns7.rndc("refresh edns-expire.")
+        ns7.rndc("refresh edns-expire.", timeout=30)
         isctest.log.info("make sure the EDNS EXPIRE of 1814400 decreases a slightly")
         pattern = Re("zone edns-expire/IN: got EDNS EXPIRE of 1814[0-3][0-9][0-9]")
         watcher.wait_for_line(pattern)