You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2009/09/19 17:35:16 UTC

[jira] Commented: (SOLR-1374) When a test fails, display the test file in the console via ant junit

    [ https://issues.apache.org/jira/browse/SOLR-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757668#action_12757668 ] 

Yonik Seeley commented on SOLR-1374:
------------------------------------

I agree - not the whole test file though.... just the error part if possible.

Related - what's the reason that we use XML formatting for junit output?  Is it for hudson or something?  It's more difficult to read by hand.  Last I checked, it also causes all output to be buffered before it's comverted to XML in one shot - in the past this has lead to out-of-memory errors when running junit based stress tests from the command line.


> When a test fails, display the test file in the console via ant junit
> ---------------------------------------------------------------------
>
>                 Key: SOLR-1374
>                 URL: https://issues.apache.org/jira/browse/SOLR-1374
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Jason Rutherglen
>            Priority: Trivial
>             Fix For: 1.5
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> When a test fails, it would be great if the junit test output file were displayed in the terminal.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (SOLR-1374) When a test fails, display the test file in the console via ant junit

Posted by Erik Hatcher <er...@gmail.com>.
On Sep 19, 2009, at 11:35 AM, Yonik Seeley (JIRA) wrote:
> Related - what's the reason that we use XML formatting for junit  
> output?  Is it for hudson or something?  It's more difficult to read  
> by hand.  Last I checked, it also causes all output to be buffered  
> before it's comverted to XML in one shot - in the past this has lead  
> to out-of-memory errors when running junit based stress tests from  
> the command line.

It's so you can generate a readable and navigable report using "ant  
test-reports".

But if it's a hindrance, by all means turn off XML reporting.

	Erik