forked from dask/distributed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: Use safer context for ProcessPoolExecutor
When running `test_process_executor_kills_process` just by itself, I get a warning that threads have been used and that the `fork` multiprocessing context is unsafe. If I run the full test suite, then the same test hangs. I don't know where the threads are coming from (as I didn't use xdist), but explicitly use the safer `spawn` multiprocess context to avoid these issues.
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters