Commit 004782f993 for bind
commit 004782f993bc32304fe271203189cff144979548
Author: Nicki Křížek <nicki@isc.org>
Date: Fri Oct 23 09:32:48 2026 +0000
Pass the ns3 instance to the stress test reload loop
Since f33e2b6d877, rndc_loop() calls .rndc() on its argument, but the
caller still passed the "10.53.0.3" string. The resulting
AttributeError ended the loop in its worker thread before the first
reload, and the unread future swallowed it, so the test has not
reloaded ns3 during the updates since.
Assisted-by: Claude:claude-opus-5-5
diff --git a/bin/tests/system/stress/tests_stress_update.py b/bin/tests/system/stress/tests_stress_update.py
index 416aa03059..10a5b59899 100644
--- a/bin/tests/system/stress/tests_stress_update.py
+++ b/bin/tests/system/stress/tests_stress_update.py
@@ -52,11 +52,11 @@ def update_zone(test_state, zone):
# If the test has run to completion without named crashing, it has succeeded.
-def test_update_stress():
+def test_update_stress(ns3):
test_state = {"finished": False}
with concurrent.futures.ThreadPoolExecutor() as executor:
- executor.submit(rndc_loop, test_state, "10.53.0.3")
+ executor.submit(rndc_loop, test_state, ns3)
updaters = []
for i in range(5):