From 13e4e845b16124d4df4017eaf5eb904c3beeb1e5 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 27 Mar 2023 10:01:51 +0200 Subject: [PATCH] dnsdist: Don't test the web server port before the concurrent conns check --- regression-tests.dnsdist/test_API.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/regression-tests.dnsdist/test_API.py b/regression-tests.dnsdist/test_API.py index f708f9c4c1..60b9e54bc2 100644 --- a/regression-tests.dnsdist/test_API.py +++ b/regression-tests.dnsdist/test_API.py @@ -777,6 +777,14 @@ class TestWebConcurrentConnections(APITestsBase): setWebserverConfig({password="%s", apiKey="%s", maxConcurrentConnections=%d}) """ + @classmethod + def setUpClass(cls): + cls.startResponders() + cls.startDNSDist() + cls.setUpSockets() + # do no check if the web server socket is up, because this + # might mess up the concurrent connections counter + def testConcurrentConnections(self): """ Web: Concurrent connections -- 2.47.2