Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-9376

Investigate using asynchronous logback config for tests to avoid timeouts and reduce test time

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.2.0 beta 1
    • Component/s: Legacy/Testing
    • Labels:
      None

      Description

      unit tests are run with debug logging which can generate a lot of output. Every log statement results in a write to the file descriptor so it is not zippy.

      Make the logging async and don't flush for every log statement. Have logback register a shutdown hook to make sure everything flushes.

        Attachments

          Activity

            People

            • Assignee:
              aweisberg Ariel Weisberg
              Reporter:
              aweisberg Ariel Weisberg
              Authors:
              Ariel Weisberg
              Reviewers:
              Sam Tunnicliffe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: