From: Peter van Dijk Date: Tue, 5 Jul 2022 07:57:30 +0000 (+0200) Subject: auth py tests: only enable LUA records in the parts that need it X-Git-Tag: auth-4.8.0-alpha0~1^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58a4b8a12cd13f6faac0fbd725adbcf8b69f6125;p=thirdparty%2Fpdns.git auth py tests: only enable LUA records in the parts that need it --- 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 """