]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Wait for web server to come online before proceeding 11043/head rec-4.7.0-alpha0
authorOtto <otto.moerbeek@open-xchange.com>
Tue, 30 Nov 2021 10:55:59 +0000 (11:55 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Tue, 30 Nov 2021 10:55:59 +0000 (11:55 +0100)
regression-tests.recursor-dnssec/test_RootNXTrust.py

index 372afa01ebb7a0f23e62f54abd74fa6993cc6228..62f6537e2c559f3831894feb83a360e95f29cb09 100644 (file)
@@ -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()