lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5622) Fail tests if they print, and tests.verbose is not set
Date Sun, 20 Apr 2014 19:34:14 GMT

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

Michael McCandless commented on LUCENE-5622:
--------------------------------------------

+1, debuggability of tests is important.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message