Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17400

Fail build or warn when closeable reference is not closed in tests

    XMLWordPrintableJSON

Details

    • Task
    • Status: Triage Needed
    • Normal
    • Resolution: Unresolved
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo Paulo Motta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: