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

pytest hangs rather than exits if monitoring router_starter fails with an exception #3571

Open
benclifford opened this issue Aug 8, 2024 · 0 comments

Comments

@benclifford
Copy link
Collaborator

Describe the bug

With
pytest parsl/tests/ --config parsl/tests/configs/htex_local_alternate.py --log-cli-level=ERROR

If monitoring router_starter and dbm_starter raise an exception, so their respective processes end, the main thread of this test then hangs. I think it's likely that this also happens for real users, but I haven't tried to reproduce this outside of pytest.

To Reproduce

Make these processes exit at startup by adding a deliberate exception.

Expected behavior
The test run should terminate as a failure, not hang.

Environment
My dev laptop, lightly modified 1c7a0e4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant