I have the following setup I use to run my tests with py.test using timeout plugin:
venv/bin/py.test-3.4 --timeout=200 --durations=10 cryptoassets
I am using an external CI service. They have 15 minute limit on the tests run. As my tests depend on third party API services, randomly tests may hang. Thus, I use py.test timeout plugin to weed out these test cases and make sure the tests run somewhat normally.
Does green provide any similar mechanism to make sure that the one test doesn't keep blocking others forever?
No, currently green does not include any timeout functionality.
I created an enhancement issue to track the feature request. Would you mind answering the question I posed there?