[
https://issues.apache.org/jira/browse/LUCENE-5622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Weiss updated LUCENE-5622:
--------------------------------
Attachment: LUCENE-5622.patch
This was trickier than I initially thought because you need to take into
account infrastructure which also prints to system streams.
Anyway, this is the proposed patch. Some tests (in Lucene) don't pass:
[junit4] - org.apache.lucene.index.TestBackwardsCompatibility (suite)
[junit4] - org.apache.lucene.index.TestCrash (suite)
[junit4] - org.apache.lucene.index.TestIndexWriter (suite)
[junit4] - org.apache.lucene.index.TestDocValuesIndexing (suite)
I didn't check Solr at all, but I suspect we need to put suppression of this
rule on the base class because Solr tests print logs to console.
> Fail tests if they print, and tests.verbose is not set
> ------------------------------------------------------
>
> Key: LUCENE-5622
> URL: https://issues.apache.org/jira/browse/LUCENE-5622
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Assignee: Dawid Weiss
> Attachments: LUCENE-5622.patch, LUCENE-5622.patch
>
>
> Some tests print so much stuff they are now undebuggable (see LUCENE-5612).
> I think its bad that the testrunner hides this stuff, we used to stay on top
> of it. Instead, whne tests.verbose is false, we should install a printstreams
> (system.out/err) that fail the test instantly because they are noisy.
> This will ensure that our tests don't go out of control.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]