]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Disable tracing for test_Chain, it chokes GH 14628/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 6 Sep 2024 12:23:31 +0000 (14:23 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 6 Sep 2024 13:29:09 +0000 (15:29 +0200)
regression-tests.recursor-dnssec/test_Chain.py

index 8cf08f645995f88283d44749ff84017839d67337..e962e1395af9264c9c9b23bb87b43ba4d9197d1d 100644 (file)
@@ -10,6 +10,7 @@ class ChainTest(RecursorTest):
     _confdir = 'Chain'
 
     _config_template = """dnssec=validate
+    trace=no
 """
 
     def testBasic(self):
@@ -17,7 +18,7 @@ class ChainTest(RecursorTest):
         Tests the case of #14624. Sending many equal requests could lead to ServFail because of clashing
         waiter ids.
         """
-        count = 500
+        count = 200
         name = '1.delay1.example.'
         exp = dns.rrset.from_text(name, 0, dns.rdataclass.IN, 'TXT', 'a')
         for i in range(count):
@@ -26,8 +27,6 @@ class ChainTest(RecursorTest):
             self._sock.send(query.to_wire())
 
         for i in range(count):
-            print(i)
-            self._sock.settimeout(5.0)
             data = self._sock.recv(4096)
             res = dns.message.from_wire(data)
             self.assertRcodeEqual(res, dns.rcode.NOERROR)