From: Peter van Dijk Date: Tue, 17 Nov 2020 15:01:01 +0000 (+0100) Subject: auth LUA tests: give healthchecker more time X-Git-Tag: auth-4.4.0-beta1~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9745%2Fhead;p=thirdparty%2Fpdns.git auth LUA tests: give healthchecker more time --- diff --git a/regression-tests.auth-py/test_LuaRecords.py b/regression-tests.auth-py/test_LuaRecords.py index d44bcd4c21..6e2905e912 100644 --- a/regression-tests.auth-py/test_LuaRecords.py +++ b/regression-tests.auth-py/test_LuaRecords.py @@ -307,7 +307,8 @@ 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) + # the timeout in the LUA health checker is 1 second, so we make sure to wait slightly longer here + time.sleep(2) res = self.sendUDPQuery(query) self.assertRcodeEqual(res, dns.rcode.NOERROR) self.assertAnyRRsetInAnswer(res, reachable_rrs)