]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth py tests: only enable LUA records in the parts that need it
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 5 Jul 2022 07:57:30 +0000 (09:57 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 5 Jul 2022 13:11:55 +0000 (15:11 +0200)
regression-tests.auth-py/authtests.py
regression-tests.auth-py/test_LuaRecords.py
regression-tests.auth-py/test_ProxyProtocol.py

index 2047e6d57498900fe79b517f4ab9e3137ee60cbc..e7a4e03a3b13f64498fef31bde7247ab11e78050 100644 (file)
@@ -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')
index 34fc00296ee5a1493ab99ded455c9095d651b3f1..06788d2e126ec8faa32171635067a7759a68617e 100644 (file)
@@ -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 = {
index 2d2b7ad575e37e3bc9883eb97126819a4ad61af3..ee2bf50ecfe56c4d99840d70b1dfaec29c1557de 100644 (file)
@@ -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
 """