From: Colin Vidal Date: Thu, 30 Apr 2026 18:02:47 +0000 (+0100) Subject: Fix `resend_loop` system test X-Git-Tag: v9.18.49~6^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=cb13dcabdb64bdb5f8f7ed33980aaf470a90e877;p=thirdparty%2Fbind9.git Fix `resend_loop` system test 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. --- diff --git a/bin/tests/system/resend_loop/ans3/ans.py b/bin/tests/system/resend_loop/ans3/ans.py index 90a3f2f9cc8..217bae0301c 100644 --- a/bin/tests/system/resend_loop/ans3/ans.py +++ b/bin/tests/system/resend_loop/ans3/ans.py @@ -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