Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3444

Tests for which setup fails leak sessions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jackrabbit-jcr-tests
    • Labels:
      None

      Description

      The tests for which setup() terminates abnormally do not log out the superuser session. This includes all tests which throw a NotExecutableException in setup(). See for example AbstractVersionTest.setup().

      This problem is amplified by the fact that the test runner keeps a reference to all tests thus preventing gc from cleaning these sessions up.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mduerig Michael Dürig
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: