Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'certbot-ci/certbot_integration_tests/utils/dns_server.py')
-rw-r--r--certbot-ci/certbot_integration_tests/utils/dns_server.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/certbot-ci/certbot_integration_tests/utils/dns_server.py b/certbot-ci/certbot_integration_tests/utils/dns_server.py
index 7dfc9c0b2..ed5b6ccae 100644
--- a/certbot-ci/certbot_integration_tests/utils/dns_server.py
+++ b/certbot-ci/certbot_integration_tests/utils/dns_server.py
@@ -17,6 +17,8 @@ from typing import Type
from pkg_resources import resource_filename
+from certbot_integration_tests.utils import constants
+
BIND_DOCKER_IMAGE = "internetsystemsconsortium/bind9:9.16"
BIND_BIND_ADDRESS = ("127.0.0.1", 45953)
@@ -67,7 +69,7 @@ class DNSServer:
if self.process:
try:
self.process.terminate()
- self.process.wait()
+ self.process.wait(constants.MAX_SUBPROCESS_WAIT)
except BaseException as e:
print("BIND9 did not stop cleanly: {}".format(e), file=sys.stderr)