]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Make RecursorTest.killProcess always return void
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 19 Nov 2025 14:35:45 +0000 (09:35 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 19 Nov 2025 14:35:45 +0000 (09:35 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
regression-tests.recursor-dnssec/recursortests.py

index e05067cc264e45810033bd46008e5160ffe87c0d..536a15c6bf98da9e92eff5d70fe6e88b5b0277fe 100644 (file)
@@ -795,13 +795,14 @@ distributor-threads={threads}
                 print("kill...", p, file=sys.stderr)
                 p.kill()
                 p.wait()
-            return p
+            return
         except OSError as e:
             # There is a race-condition with the poll() and
             # kill() statements, when the process is dead on the
             # kill(), this is fine
             if e.errno != errno.ESRCH:
                 raise
+            return
 
     @classmethod
     def tearDownAuth(cls):