From dee49b7a1f50ac1cf9236a6b37e800320960ad6b Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Thu, 6 Apr 2023 14:33:27 +0200 Subject: [PATCH] Replace dnspython resolver.query with resolver.resolve The resolver.query() has been deprecated in favor of resolver.resolve(); used that. This is an omission from 3b1756d45012a66f08693c17145a8484ec68bd47 --- bin/tests/system/shutdown/tests_shutdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/shutdown/tests_shutdown.py b/bin/tests/system/shutdown/tests_shutdown.py index dee0fb3cf8..499dca323a 100755 --- a/bin/tests/system/shutdown/tests_shutdown.py +++ b/bin/tests/system/shutdown/tests_shutdown.py @@ -95,7 +95,7 @@ def do_work(named_proc, resolver, rndc_cmd, kill_method, n_workers, n_queries): ) qname = relname + ".test" - futures[executor.submit(resolver.query, qname, "A")] = tag + futures[executor.submit(resolver.resolve, qname, "A")] = tag elif shutdown: # We attempt to stop named in the middle shutdown = False if kill_method == "rndc":