From: Otto Date: Tue, 30 Nov 2021 10:55:59 +0000 (+0100) Subject: Wait for web server to come online before proceeding X-Git-Tag: rec-4.7.0-alpha0^0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11043%2Fhead;p=thirdparty%2Fpdns.git Wait for web server to come online before proceeding --- diff --git a/regression-tests.recursor-dnssec/test_RootNXTrust.py b/regression-tests.recursor-dnssec/test_RootNXTrust.py index 372afa01eb..62f6537e2c 100644 --- a/regression-tests.recursor-dnssec/test_RootNXTrust.py +++ b/regression-tests.recursor-dnssec/test_RootNXTrust.py @@ -54,6 +54,7 @@ api-key=%s after receiving a NXD from "." for nx-example. as an answer for www.nx-example. """ + self.waitForTCPSocket("127.0.0.1", self._wsPort) self.waitForOutgoingToStabilize() # First query nx.example. before = self.getOutgoingQueriesCount() @@ -101,6 +102,7 @@ api-key=%s after receiving a NXD from "." for nx-example. as an answer for www.nx-example. """ + self.waitForTCPSocket("127.0.0.1", self._wsPort) self.waitForOutgoingToStabilize() # first query nx.example. before = self.getOutgoingQueriesCount()