]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Wait for webserver to come up
authorOtto <otto.moerbeek@open-xchange.com>
Mon, 29 Nov 2021 11:14:55 +0000 (12:14 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Tue, 30 Nov 2021 09:56:41 +0000 (10:56 +0100)
regression-tests.recursor-dnssec/test_RPZ.py

index dd828f55198401649c22b7dc6ea88010027bdc3a..d940d45c6a07a4f35dfe1bf11d37788c536670ce 100644 (file)
@@ -403,6 +403,7 @@ e 3600 IN A 192.0.2.42
         raise AssertionError("Waited %d seconds for the serial to be updated to %d but the serial is still %d" % (timeout, serial, currentSerial))
 
     def testRPZ(self):
+        self.waitForTCPSocket("127.0.0.1", self._wsPort)
         # first zone, only a should be blocked
         self.waitUntilCorrectSerialIsLoaded(1)
         self.checkRPZStats(1, 1, 1, self._xfrDone)