diff --git a/tests/fuzz/run.py b/tests/fuzz/run.py index d3fe5ffad4dd..b1130c5bd5a1 100755 --- a/tests/fuzz/run.py +++ b/tests/fuzz/run.py @@ -5,7 +5,7 @@ import re import subprocess -from concurrent.futures import ProcessPoolExecutor, as_completed +from concurrent.futures import ThreadPoolExecutor, as_completed def job(command): @@ -54,7 +54,7 @@ def job(command): target_dir = os.path.abspath(os.path.dirname(__file__)) targets = [os.path.join(target_dir, f) for f in os.listdir(target_dir) if re.compile(r"^fuzz-[\w-]*$").findall(f)] - with ProcessPoolExecutor(max_workers=args.par) as pool: + with ThreadPoolExecutor(max_workers=args.par) as pool: jobs = [] runs = args.runs if args.generate else 1