[ 
https://issues.apache.org/jira/browse/LUCENE-5622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13975261#comment-13975261
 ] 

Dawid Weiss commented on LUCENE-5622:
-------------------------------------

> I think its bad that the testrunner hides this stuff,

It technically does not. The *report* which prints stuff to the console does, 
but that's a different thing from the runner itself. Also, full content of 
sysouts/ syserrs is dumped (by another report) to disk. See common-build.xml 
and all junit4:report-* blocks.

We could just change
{code}
 showOutput="${tests.showOutput}"
{code}
to true and this would bring all the output back to the console. The problem is 
(and was) Solr tests, which print humongous outputs.


> 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
>         Attachments: 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]

Reply via email to