summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Vašek <david.vasek@nic.cz>2024-12-25 23:42:07 +0100
committerDavid Vašek <david.vasek@nic.cz>2024-12-25 23:50:53 +0100
commite5c7d37d90d64ab9cc1ee392178a075d2db59e5e (patch)
treeac05fe99c551a07bc9dcb12bd3bbaa134098739c
parenttests-extra: fix Knot server starting when it listens on a socket (diff)
downloadknot-e5c7d37d90d64ab9cc1ee392178a075d2db59e5e.tar.xz
knot-e5c7d37d90d64ab9cc1ee392178a075d2db59e5e.zip
tests-extra: fix the all-servers startup method
When all servers are already running, don't start some of them again.
-rw-r--r--tests-extra/tools/dnstest/test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests-extra/tools/dnstest/test.py b/tests-extra/tools/dnstest/test.py
index 4144d196e..90ca1f9e3 100644
--- a/tests-extra/tools/dnstest/test.py
+++ b/tests-extra/tools/dnstest/test.py
@@ -284,6 +284,7 @@ class Test(object):
if not server.listening():
self.stop(kill=True)
self.start()
+ break
self.start_tries = 0