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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to