File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 22from concurrent .futures import ProcessPoolExecutor , as_completed
33from contextlib import redirect_stderr , redirect_stdout
44from io import StringIO
5+ from multiprocessing import get_context
56from typing import Dict , List
67
78from tests .integration .image_checker import (
@@ -230,7 +231,9 @@ def test_images():
230231 # Run tests in parallel using ProcessPoolExecutor for isolated stdout/stderr
231232 print (f"Running { len (test_configs )} tests in parallel" )
232233 print ("Individual test logs will be written to test_<name>.log files" )
233- with ProcessPoolExecutor (max_workers = 6 ) as executor :
234+ with ProcessPoolExecutor (
235+ max_workers = 6 , mp_context = get_context ("spawn" )
236+ ) as executor :
234237 # Submit all tests
235238 future_to_test = {
236239 executor .submit (run_test , * config ): config [0 ] for config in test_configs
You can’t perform that action at this time.
0 commit comments