]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Bump the requirement in the shutdown test to dnspython 2.0.0
authorOndřej Surý <ondrej@isc.org>
Tue, 4 Apr 2023 19:31:58 +0000 (21:31 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 4 Apr 2023 19:58:45 +0000 (19:58 +0000)
The dnspython.Resolve.resolve() requires at least dnspython >= 2.0.0,
this wasn't enforced in the shutdown system test leading to infinite
loop waiting for the server start due to failing resolve() call.

bin/tests/system/shutdown/tests_shutdown.py

index aff69c5e3ad34e3eb1de4583304b4cc96bf21205..a38068fff012447a5b8a07edbdf6f8e348a438ef 100755 (executable)
@@ -21,7 +21,7 @@ import time
 
 import pytest
 
-pytest.importorskip("dns")
+pytest.importorskip("dns", minversion="2.0.0")
 import dns.exception
 import dns.resolver