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

Add dtest option to keep ccm test directories for just failed tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-beta2, 4.0
    • Test/dtest/python
    • None

    Description

      DTests already have an option `--keep-test-dir` that keeps the ccm test directories. This is useful for debugging failures, especially those that can't be reproduced locally.

      Introducing this option to ci-cassandra.a.o failed due to lack of disk space.

      This patch introduces a new option `--keep-failed-test-dir` that keeps the ccm test directory only for dtests that fail.

      This should suffice, if disk space is still a problem, a further option of `--keep-failed-test-log-dir` can be added that only keeps the logs inside the ccm test directory, as the majority of space taken up by these directories are the cassandra data directories.

      Attachments

        Activity

          People

            mck Michael Semb Wever
            mck Michael Semb Wever
            Michael Semb Wever
            Brandon Williams, Michael Semb Wever
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: