From 58a4b8a12cd13f6faac0fbd725adbcf8b69f6125 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 5 Jul 2022 09:57:30 +0200 Subject: [PATCH] auth py tests: only enable LUA records in the parts that need it --- regression-tests.auth-py/authtests.py | 2 -- regression-tests.auth-py/test_LuaRecords.py | 2 ++ regression-tests.auth-py/test_ProxyProtocol.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/regression-tests.auth-py/authtests.py b/regression-tests.auth-py/authtests.py index 2047e6d574..e7a4e03a3b 100644 --- a/regression-tests.auth-py/authtests.py +++ b/regression-tests.auth-py/authtests.py @@ -180,8 +180,6 @@ options { authcmd.append('--local-address=%s' % ipaddress) authcmd.append('--local-port=%s' % cls._authPort) authcmd.append('--loglevel=9') - authcmd.append('--enable-lua-records') - authcmd.append('--lua-health-checks-interval=1') authcmd.append('--zone-cache-refresh-interval=0') print(' '.join(authcmd)) logFile = os.path.join(confdir, 'pdns.log') diff --git a/regression-tests.auth-py/test_LuaRecords.py b/regression-tests.auth-py/test_LuaRecords.py index 34fc00296e..06788d2e12 100644 --- a/regression-tests.auth-py/test_LuaRecords.py +++ b/regression-tests.auth-py/test_LuaRecords.py @@ -40,6 +40,8 @@ geoip-database-files=../modules/geoipbackend/regression-tests/GeoLiteCity.mmdb edns-subnet-processing=yes launch=bind geoip any-to-tcp=no +enable-lua-records +lua-health-checks-interval=1 """ _zones = { diff --git a/regression-tests.auth-py/test_ProxyProtocol.py b/regression-tests.auth-py/test_ProxyProtocol.py index 2d2b7ad575..ee2bf50ecf 100644 --- a/regression-tests.auth-py/test_ProxyProtocol.py +++ b/regression-tests.auth-py/test_ProxyProtocol.py @@ -15,6 +15,7 @@ class TestProxyProtocolLuaRecords(AuthTest): launch=bind any-to-tcp=no proxy-protocol-from=127.0.0.1 +enable-lua-records edns-subnet-processing=yes """ -- 2.47.2