mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-03 18:49:28 -05:00
tests-extra: force forking in multiprocessing library to avoid serialization problems with multiprocessing.Process
This commit is contained in:
parent
7fe7b08a0f
commit
8458300a50
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue