]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
ZTC regression test does not need auths 13926/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 18 Mar 2024 08:06:21 +0000 (09:06 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 18 Mar 2024 08:06:21 +0000 (09:06 +0100)
regression-tests.recursor-dnssec/test_ZTC.py

index a801a25c8f51b5062ebc1b41587374721c0d9302..abf9a51cccc3ec85f96ba139b697c834956aeba1 100644 (file)
@@ -15,6 +15,23 @@ dnssec=validate
 zoneToCache(".", "axfr", "193.0.14.129") -- k-root
 """
 
+    @classmethod
+    def setUpClass(cls):
+
+        # we don't need all the auth stuff
+        cls.setUpSockets()
+        cls.startResponders()
+
+        confdir = os.path.join('configs', cls._confdir)
+        cls.createConfigDir(confdir)
+
+        cls.generateRecursorConfig(confdir)
+        cls.startRecursor(confdir, cls._recursorPort)
+
+    @classmethod
+    def tearDownClass(cls):
+        cls.tearDownRecursor()
+
     def testZTC(self):
         grepCmd = ['grep', 'validationStatus="Secure"', 'configs/' + self._confdir + '/recursor.log']
         ret = b''