You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2016/11/04 10:23:58 UTC

[jira] [Resolved] (LUCENE-5921) Reports of TestRuleLimitSysouts exceeded for failed tests

     [ https://issues.apache.org/jira/browse/LUCENE-5921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dawid Weiss resolved LUCENE-5921.
---------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 6.0)

> Reports of TestRuleLimitSysouts exceeded for failed tests
> ---------------------------------------------------------
>
>                 Key: LUCENE-5921
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5921
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/test
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>
> This may happen for thread-related errors (for example uncaught exceptions in a non-test thread). Then the failure is reported/ registered to JUnit after the test's rules have completed so TestRuleLimitSysouts doesn't see the test/ suite as failing.
> A workaround would be to use specialized test listener... but it's a bit clumsy. It is a very specific corner case; for normal errors happening in the test's thread TestRuleLimitSysouts won't fire.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org