From: Remi Gacogne Date: Mon, 27 Mar 2023 08:01:51 +0000 (+0200) Subject: dnsdist: Don't test the web server port before the concurrent conns check X-Git-Tag: dnsdist-1.8.0^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12682%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Don't test the web server port before the concurrent conns check --- 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