Skip to content

Commit febe395

Browse files
committed
Forked
1 parent e636fc9 commit febe395

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

.github/workflows/build_with_conda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

environment-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

python/tests/conftest.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@
8484
import arcticdb.toolbox.query_stats as query_stats
8585
from 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 ====================================
9389
hypothesis.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

0 commit comments

Comments
 (0)