You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Would it make sense to add a timeout to the Python testing suite? #4441
Feature Description
This week the Chapel team has experienced some test configurations running unusually long due to one particular test. We were wondering if it would make sense to add a timeout so that the job itself will interrupt tests that are taking too long and hopefully allow the rest of the tests to run and report back.
It looks like pytest doesn't have this functionality itself but that it can be enabled via the pytest-timeout package. So I'd probably lean towards adding that to the dependencies and using it for this?
Example Behavior
The PyPI link above has some examples of how to use the package
Describe Workarounds
There's probably some way to code this up independently but that seems unnecessary.
Additional context
Can't think of anything at the moment
Activity
ajpotts commentedon Jun 18, 2025
I did attempt to add
pytest-timeoutto the project and it didn't work out of the box. See #4445