Michael Semb Wever created CASSANDRA-16070:
----------------------------------------------
Summary: Add dtest option to keep ccm test directories for just
failed tests
Key: CASSANDRA-16070
URL: https://issues.apache.org/jira/browse/CASSANDRA-16070
Project: Cassandra
Issue Type: Improvement
Components: Test/dtest
Reporter: Michael Semb Wever
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|https://github.com/apache/cassandra-builds/commit/51eb85b57b62a542ca456e52a20bee06955f6ec1#diff-a885314255cf7d5c7c04889bf01aa2ab]
this option to ci-cassandra.a.o
[failed|https://github.com/apache/cassandra-builds/commit/d1600acde19cdbd906b0ff89318d3e8a3f400a70#diff-a885314255cf7d5c7c04889bf01aa2ab]
due to lack of disk space.
This
[patch|https://github.com/apache/cassandra-dtest/compare/master...thelastpickle:mck/keep_failed_test_dir]
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]