cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Semb Wever (Jira)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-16070) Add dtest option to keep ccm test directories for just failed tests
Date Mon, 24 Aug 2020 14:45:00 GMT

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

Michael Semb Wever updated CASSANDRA-16070:
-------------------------------------------
    Reviewers: Brandon Williams, Michael Semb Wever  (was: Berenguer Blasi)
       Status: Review In Progress  (was: Patch Available)

> 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


Mime
View raw message