]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix unused configuration parameters in health-checks tests 15556/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 12 May 2025 13:14:58 +0000 (15:14 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 12 May 2025 13:14:58 +0000 (15:14 +0200)
regression-tests.dnsdist/test_HealthChecks.py

index ab2fbea5e83d530316d862e78dcd95d92470ac3a..9c7f9579f623990e803e09612e763a6ea4976648 100644 (file)
@@ -9,11 +9,7 @@ from dnsdisttests import DNSDistTest, pickAvailablePort
 class HealthCheckTest(DNSDistTest):
     _consoleKey = DNSDistTest.generateConsoleKey()
     _consoleKeyB64 = base64.b64encode(_consoleKey).decode('ascii')
-    _webTimeout = 2.0
-    _webServerPort = pickAvailablePort()
-    _webServerAPIKey = 'apisecret'
-    _webServerAPIKeyHashed = '$scrypt$ln=10,p=1,r=8$9v8JxDfzQVyTpBkTbkUqYg==$bDQzAOHeK1G9UvTPypNhrX48w974ZXbFPtRKS34+aso='
-    _config_params = ['_consoleKeyB64', '_consolePort', '_webServerPort', '_webServerAPIKeyHashed', '_testServerPort']
+    _config_params = ['_consoleKeyB64', '_consolePort', '_testServerPort']
     _config_template = """
     setKey("%s")
     controlSocket("127.0.0.1:%d")