You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2020/08/24 07:24:00 UTC

[jira] [Updated] (CASSANDRA-16070) Add dtest option to keep ccm test directories for just failed tests

     [ https://issues.apache.org/jira/browse/CASSANDRA-16070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Semb Wever updated CASSANDRA-16070:
-------------------------------------------
    Test and Documentation Plan: 
ci-cassandra.a.o
introduction to build-scripts/cassandra-dtest-pytest.sh
                         Status: Patch Available  (was: Open)

> 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-beta
>
>
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org