From: Otto Date: Mon, 29 Nov 2021 11:14:55 +0000 (+0100) Subject: Wait for webserver to come up X-Git-Tag: rec-4.7.0-alpha0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43e1144183a39f7556e0c1ec0289d19e859dc447;p=thirdparty%2Fpdns.git Wait for webserver to come up --- diff --git a/regression-tests.recursor-dnssec/test_RPZ.py b/regression-tests.recursor-dnssec/test_RPZ.py index dd828f5519..d940d45c6a 100644 --- a/regression-tests.recursor-dnssec/test_RPZ.py +++ b/regression-tests.recursor-dnssec/test_RPZ.py @@ -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)