[
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: [email protected]
For additional commands, e-mail: [email protected]