You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2018/09/10 17:41:00 UTC
[jira] [Created] (GEODE-5715) Improve handling of hanging tests
Dan Smith created GEODE-5715:
--------------------------------
Summary: Improve handling of hanging tests
Key: GEODE-5715
URL: https://issues.apache.org/jira/browse/GEODE-5715
Project: Geode
Issue Type: Improvement
Reporter: Dan Smith
Currently, if a dunit test hangs, the entire gradle task hangs and we catch it using a timeout on the concourse job.
Can we instead put a timeout on each individual test, so that tests themselves will fail and get reported in the UI with their associated logs if they hang?
One way would be to just add a timeout parameter to the \@Test annotation of every test. Or is there something more general we can do with the junit framework (junit 4 or junit 5)?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)