]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Don't test the web server port before the concurrent conns check 12682/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 27 Mar 2023 08:01:51 +0000 (10:01 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 27 Mar 2023 08:01:51 +0000 (10:01 +0200)
regression-tests.dnsdist/test_API.py

index f708f9c4c188ba4fe6c069cb38572bfe565f5402..60b9e54bc2d6a99c092fa84920cc9977cb9daf5f 100644 (file)
@@ -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