[ 
https://issues.apache.org/jira/browse/CASSANDRA-16070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17183771#comment-17183771
 ] 

Michael Semb Wever commented on CASSANDRA-16070:
------------------------------------------------

A few dtests 
[broke|https://the-asf.slack.com/archives/CK23JSY2K/p1598314509030400] from 
this commit. And the test run above also show them, mea culpa.

[~brandon.williams] fixed it with 
https://github.com/apache/cassandra-dtest/commit/bc270afa85f11b06c52f7b8abe1d3ef1f6716751

> 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
>            Assignee: Michael Semb Wever
>            Priority: Normal
>             Fix For: 4.0-beta2
>
>
> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to