From c2e35ba0cdd3a931896624a8f91775cf5baf45f0 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 17 Nov 2020 16:01:01 +0100 Subject: [PATCH] auth LUA tests: give healthchecker more time --- regression-tests.auth-py/test_LuaRecords.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.47.2