You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2022/12/04 22:46:00 UTC

[jira] [Updated] (CASSANDRA-17400) Fail build or warn when closeable reference is not closed in tests

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

Maxim Muzafarov updated CASSANDRA-17400:
----------------------------------------
    Epic Link: CASSANDRA-18090

> Fail build or warn when closeable reference is not closed in tests
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-17400
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17400
>             Project: Cassandra
>          Issue Type: Task
>            Reporter: Paulo Motta
>            Priority: Normal
>              Labels: lhf
>
> I came across a recent test stuck issue which was caused by an {{Autocloseable}} object not being closed properly, leaking some references and ultimately causing a deadlock.
> To prevent similar issues in the future we should add a check that fail or warn when references are not closed during tests.
> If such check already exists we should look into fixing violations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org