Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XFAIL test_child_raises_parent_exits_cleanly with multiprocessing #1339

Merged
merged 2 commits into from Sep 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 12 additions & 2 deletions joblib/test/test_memmapping.py
Expand Up @@ -762,7 +762,18 @@ def test_memmapping_pool_for_large_arrays(factory, tmpdir):

@with_numpy
@with_multiprocessing
@parametrize("backend", ["multiprocessing", "loky"])
@parametrize(
"backend",
[
pytest.param(
"multiprocessing",
marks=pytest.mark.xfail(
reason='https://github.com/joblib/joblib/issues/1086'
),
),
"loky",
]
)
def test_child_raises_parent_exits_cleanly(backend):
# When a task executed by a child process raises an error, the parent
# process's backend is notified, and calls abort_everything.
Expand All @@ -789,7 +800,6 @@ def test_child_raises_parent_exits_cleanly(backend):

data = np.random.rand(1000)


def get_temp_folder(parallel_obj, backend):
if "{b}" == "loky":
return Path(p._backend._workers._temp_folder)
Expand Down