]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Give the 'flags on timeout' test more headroom 12547/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 14 Feb 2023 08:49:32 +0000 (09:49 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 14 Feb 2023 08:56:11 +0000 (09:56 +0100)
It looks like it takes longer than expected for the timeout to be
recorded when running on GitHub Actions.

regression-tests.dnsdist/test_Advanced.py

index 9797ed461fb070d971be9b20e80ad80b2ad460ca..0c3947ac890801429bd87ac9615f668f6e29419a 100644 (file)
@@ -698,7 +698,7 @@ class TestFlagsOnTimeout(DNSDistTest):
         self.assertFalse(receivedResponse)
 
         # make sure that the timeouts have been detected and recorded
-        for _ in range(3):
+        for _ in range(6):
             content = self.sendConsoleCommand("grepq('')")
             lines = content.splitlines()
             if len(lines) == 5: