File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 96
96
export PYTEST_ADDOPTS="-vv -ra -l -o console_output_style=count -n $(nproc) --dist=worksteal"
97
97
# Use pytest-rerunfailures to workaround pytest-xdist worker crashes with spawn start-method (bug 924416).
98
98
[[ "${{ matrix.start-method }}" == "spawn" ]] && PYTEST_ADDOPTS+=" --reruns 5 --only-rerun 'worker .* crashed while running'"
99
+ [[ "${{ matrix.start-method }}" == "fork" ]] &&
100
+ [[ "${{ matrix.python-version }}" == "3.14-dev" ]] &&
101
+ PYTEST_ADDOPTS+=" --reruns 5 --only-rerun 'node down: Not properly terminated'"
99
102
meson test -C /tmp/build --verbose
Original file line number Diff line number Diff line change 19
19
import os as _os
20
20
import warnings
21
21
22
+ if multiprocessing .get_start_method () == "forkserver" :
23
+ multiprocessing .set_start_method ("spawn" , force = True )
24
+
22
25
from dataclasses import dataclass
23
26
from functools import lru_cache , partial
24
27
from typing import Any , Optional , Callable , Union
You can’t perform that action at this time.
0 commit comments