You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@distributedlog.apache.org by brennonyork <gi...@git.apache.org> on 2016/12/16 17:28:13 UTC

[GitHub] incubator-distributedlog issue #75: DL-123: Every tests should have timeout

Github user brennonyork commented on the issue:

    https://github.com/apache/incubator-distributedlog/pull/75
  
    Totally valid question. I went through and Google'd for a bit and found a few links. In short the best we can do that is _currently_ supported by JUnit is to create a class rule within a test suite (eg timeout) although we'd then need to create all the test suites (which it doesn't look like DL is setup for currently).
    
    * [history of global params for junit](https://github.com/junit-team/junit4/issues/1219)
    * [creating class rules for test suites](http://stackoverflow.com/questions/16608934/can-i-apply-a-time-limit-for-all-the-tests-in-the-suite) 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---