]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix `resend_loop` system test
authorColin Vidal <colin@isc.org>
Thu, 30 Apr 2026 18:02:47 +0000 (19:02 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 7 May 2026 11:21:59 +0000 (13:21 +0200)
Commit `c78016ff91ed33221831b4723108d69639430913` backported asyncserver
features to 9.18 branches, but the `resend_loop` test was still using
the previous API to install handlers (passing a list of handlers rather
than a varags). This is now fixed.

bin/tests/system/resend_loop/ans3/ans.py

index 90a3f2f9cc8297754edbd5861b35738e5e097d95..217bae0301cf71bd8111af446bd201c738ead12f 100644 (file)
@@ -111,11 +111,9 @@ class NoErrorHandler(ResponseHandler):
 def resend_server() -> AsyncDnsServer:
     server = AsyncDnsServer(default_aa=True, default_rcode=dns.rcode.NOERROR)
     server.install_response_handlers(
-        [
-            PrimeHandler(),
-            CookieHandler(),
-            NoErrorHandler(),
-        ]
+        PrimeHandler(),
+        CookieHandler(),
+        NoErrorHandler(),
     )
     return server