From: Otto Moerbeek Date: Mon, 20 Mar 2023 11:36:20 +0000 (+0100) Subject: rec: Wait for the API to come alive before using it in notify test X-Git-Tag: dnsdist-1.8.0~9^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12667%2Fhead;p=thirdparty%2Fpdns.git rec: Wait for the API to come alive before using it in notify test --- diff --git a/regression-tests.recursor-dnssec/test_Notify.py b/regression-tests.recursor-dnssec/test_Notify.py index 6ff0ea346f..689f346b72 100644 --- a/regression-tests.recursor-dnssec/test_Notify.py +++ b/regression-tests.recursor-dnssec/test_Notify.py @@ -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)