File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ jobs:
281281 eval "$command"
282282 else
283283 cd python
284- python -m pytest --timeout=3600 -v -n logical --dist worksteal tests $ARCTICDB_PYTEST_ARGS
284+ python -m pytest --timeout=3600 -v -n logical --dist worksteal --forked tests $ARCTICDB_PYTEST_ARGS
285285 fi
286286 env :
287287 ARCTICDB_USING_CONDA : 1
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ dependencies:
8585 - retrying
8686 - trustme
8787 - psutil
88+ - pytest-forked
8889 # Use memray and pytest-memray only on Linux and MacOS
8990 - sel(unix) : memray
9091 - sel(unix) : pytest-memray
Original file line number Diff line number Diff line change 8484import arcticdb .toolbox .query_stats as query_stats
8585from arcticdb .options import OutputFormat
8686
87- if MACOS :
88- import multiprocessing
89- multiprocessing .set_start_method ("forkserver" , force = True )
90-
9187
9288# region =================================== Misc. Constants & Setup ====================================
9389hypothesis .settings .register_profile ("ci_linux" , max_examples = 100 )
@@ -1550,12 +1546,6 @@ def clear_query_stats():
15501546 query_stats .reset_stats ()
15511547
15521548
1553- @pytest .fixture (scope = "function" , autouse = True )
1554- def assert_use_fork ():
1555- if MACOS :
1556- import multiprocessing
1557- assert multiprocessing .get_start_method () == "forkserver"
1558-
15591549# region Pytest special xfail handling
15601550
15611551
You can’t perform that action at this time.
0 commit comments