]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
tests-extra: force forking in multiprocessing library to avoid serialization problems... python3_14_tests
authorJan Hák <jan.hak@nic.cz>
Tue, 27 Jan 2026 12:07:03 +0000 (13:07 +0100)
committerJan Hák <jan.hak@nic.cz>
Tue, 27 Jan 2026 12:19:26 +0000 (13:19 +0100)
tests-extra/runtests.py

index d9d5ea935f70ed4ff5dcb1e7b75a698e58ca0013..87d092ba5ef6bbbdb44ca20022eb14477b3b659a 100755 (executable)
@@ -259,6 +259,8 @@ def main(args):
     global log
     global outs_dir
 
+    multiprocessing.set_start_method('fork')
+
     tasks = multiprocessing.Queue()
     results = multiprocessing.SimpleQueue()
     stop = multiprocessing.Value('i', False)