From: Charles-Henri Bruyand Date: Mon, 23 Apr 2018 10:39:29 +0000 (+0200) Subject: luarec tests: double instructions performed to test timeout X-Git-Tag: dnsdist-1.3.1~134^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b3590c8ec5f049972d2270b3ac705e9190b224f;p=pdns luarec tests: double instructions performed to test timeout --- diff --git a/regression-tests.auth-py/test_LuaRecords.py b/regression-tests.auth-py/test_LuaRecords.py index 0e046a1e0..f812b479e 100644 --- a/regression-tests.auth-py/test_LuaRecords.py +++ b/regression-tests.auth-py/test_LuaRecords.py @@ -52,7 +52,7 @@ v6-bogus.rand.example.org. 3600 IN LUA AAAA "pickrandom({{'{prefix}.101', '{ v6.rand.example.org. 3600 IN LUA AAAA "pickrandom({{'2001:db8:a0b:12f0::1', 'fe80::2a1:9bff:fe9b:f268'}})" closest.geo 3600 IN LUA A "pickclosest({{'1.1.1.2','1.2.3.4'}})" empty.rand.example.org. 3600 IN LUA A "pickrandom()" -timeout.example.org. 3600 IN LUA A "; local i = 0 ; while i < 500 do i = i + 1 end return '1.2.3.4'" +timeout.example.org. 3600 IN LUA A "; local i = 0 ; while i < 1000 do pickrandom() ; i = i + 1 end return '1.2.3.4'" wrand.example.org. 3600 IN LUA A "pickwrandom({{ {{30, '{prefix}.102'}}, {{15, '{prefix}.103'}} }})" config IN LUA LUA ("settings={{stringmatch='Programming in Lua'}} "