]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Another case of too early API access
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 21 Mar 2023 16:07:46 +0000 (17:07 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 21 Mar 2023 16:07:46 +0000 (17:07 +0100)
regression-tests.recursor-dnssec/test_PacketCache.py

index 35b6039558be149ce85e8508ddd9a958fd42cdb1..f797822d8a007611978530a6bf24c3dc7cffd4a4 100644 (file)
@@ -67,6 +67,7 @@ f 3600 IN CNAME f            ; CNAME loop: dirty trick to get a ServFail in an a
         self.assertTrue(foundMisses)
 
     def testPacketCache(self):
+        self.waitForTCPSocket("127.0.0.1", self._wsPort)
         # first query, no cookie
         qname = 'a.example.'
         query = dns.message.make_query(qname, 'A', want_dnssec=True)