accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-1142) Clean up maven test output
Date Mon, 04 Mar 2013 02:43:13 GMT
Josh Elser created ACCUMULO-1142:
------------------------------------

             Summary: 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

Mime
View raw message