From: Peter van Dijk Date: Tue, 1 Jun 2021 08:12:42 +0000 (+0200) Subject: auth LUA testing: allow 2 seconds for health checking to run X-Git-Tag: auth-4.5.0-beta1~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10459%2Fhead;p=thirdparty%2Fpdns.git auth LUA testing: allow 2 seconds for health checking to run --- diff --git a/regression-tests.auth-py/test_LuaRecords.py b/regression-tests.auth-py/test_LuaRecords.py index 6e2905e912..8dfae1dd25 100644 --- a/regression-tests.auth-py/test_LuaRecords.py +++ b/regression-tests.auth-py/test_LuaRecords.py @@ -280,7 +280,7 @@ resolve IN LUA A ";local r=resolve('localhost', 1) local t={{}} res = self.sendUDPQuery(query) self.assertRcodeEqual(res, dns.rcode.NOERROR) - time.sleep(1) + time.sleep(2) res = self.sendUDPQuery(query) self.assertRcodeEqual(res, dns.rcode.NOERROR) self.assertEqual(res.answer, expected) @@ -336,7 +336,7 @@ resolve IN LUA A ";local r=resolve('localhost', 1) local t={{}} self.assertRcodeEqual(res, dns.rcode.NOERROR) self.assertAnyRRsetInAnswer(res, all_rrs) - time.sleep(1) + time.sleep(2) res = self.sendUDPQuery(query) self.assertRcodeEqual(res, dns.rcode.NOERROR) self.assertAnyRRsetInAnswer(res, reachable_rrs)