mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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.
This commit is contained in:
parent
d5cd9b71eb
commit
cb13dcabdb
1 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue