Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
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.