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

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

Paulo Motta created CASSANDRA-17400:
---------------------------------------

             Summary: 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


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.1#820001)

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