]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Give the retransfer-force watchers a 60s timeout
authorMichal Nowak <mnowak@isc.org>
Tue, 2 Jun 2026 15:46:29 +0000 (15:46 +0000)
committerMichal Nowak <mnowak@isc.org>
Wed, 10 Jun 2026 19:15:09 +0000 (19:15 +0000)
The shutting-down and success transfers can exceed 30s on slow
instrumented builds.

Assisted-by: Claude:claude-opus-4-8
bin/tests/system/xfer/tests_retransfer_with_force.py

index 0553e0fd0f4ba54b63716ab57c0ff919c229dbd9..260a13417bd6a5f17f03d102f89c04551f110d11 100644 (file)
@@ -38,8 +38,8 @@ def test_cancel_ongoing_retransfer(named_port, ns6):
     isctest.log.info(
         "Issue a retransfer-force command which should cancel the ongoing transfer and start a new one."
     )
-    with ns6.watch_log_from_here(timeout=30) as watcher_transfer_success:
-        with ns6.watch_log_from_here() as watcher_transfer_shutting_down:
+    with ns6.watch_log_from_here(timeout=60) as watcher_transfer_success:
+        with ns6.watch_log_from_here(timeout=60) as watcher_transfer_shutting_down:
             ns6.rndc("retransfer -force axfr-rndc-retransfer-force.")
             watcher_transfer_shutting_down.wait_for_line(
                 isctest.transfer.transfer_message(