Parsl / parsl

Parsl - a Python parallel scripting library
http://parsl-project.org
Apache License 2.0
498 stars 195 forks source link

Fix `RuntimeError: cannot schedule new futures after shutdown` #310

Open annawoodard opened 6 years ago

annawoodard commented 6 years ago

We currently use the pytest.mark.forked decorator to mark certain tests to be run in a subprocess. If this decorator is removed, subsequent tests fail with RuntimeError: cannot schedule new futures after shutdown. This seems to be related to #221 and #222. We should consider this issue solved when the forked decorators are no longer needed.

benclifford commented 6 years ago

If this is #221 (which I think is likely but unconfirmed), then that runtime error would be caused by the previous test code overrunning (and reacting to the DFK for that test being shut down), not from the test code that is actually meant to be running at the time the errors occur.