]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Wait for the API to come alive before using it in notify test 12667/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 20 Mar 2023 11:36:20 +0000 (12:36 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 20 Mar 2023 11:36:20 +0000 (12:36 +0100)
regression-tests.recursor-dnssec/test_Notify.py

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