Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1142

Clean up maven test output

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.0
    • test
    • None

    Description

      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.

      1. a log4j configuration file specifically for tests that puts
        these in a file, rather than STDOUT/STDERR.
      2. 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.
      3. Enable redirectTestOutputToFile in the maven surefire plugin so that STDOUT is redirected to a file inside of the build temp dir (target).

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: