You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2013/03/04 03:47:13 UTC

[jira] [Resolved] (ACCUMULO-1142) Clean up maven test output

     [ https://issues.apache.org/jira/browse/ACCUMULO-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Elser resolved ACCUMULO-1142.
----------------------------------

    Resolution: Fixed

Enabled redirectTestOutputToFile in r1452173.

If there is any objection to this, we can revert the changes and choose a different approach.
                
> Clean up maven test output
> --------------------------
>
>                 Key: ACCUMULO-1142
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1142
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> Test output is often very chatty, especially in the error-throwing and mapreduce test cases. This output tends to detract from the actual usefulness that the surefire plugin already produces. We have some easy alternatives get around this.
> # a log4j configuration file specifically for tests that puts
> these in a file, rather than STDOUT/STDERR.
> # For tests which Exceptions are expected, ensure that loggers aren't going to accidentally log it and reset the Log level when the test is done.
> # Enable redirectTestOutputToFile in the maven surefire plugin so that STDOUT is redirected to a file inside of the build temp dir (target).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira