Skip to content

Commit

Permalink
:/Python
Browse files Browse the repository at this point in the history
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
  • Loading branch information
darosior committed Oct 19, 2020
1 parent 76e9ef9 commit da39cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/fuzz/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit da39cfe

Please sign in to comment.