jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Created] (JCR-3444) Tests for which setup fails leak sessions
Date Wed, 10 Oct 2012 21:41:02 GMT
Michael Dürig created JCR-3444:

             Summary: Tests for which setup fails leak sessions
                 Key: JCR-3444
                 URL: https://issues.apache.org/jira/browse/JCR-3444
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-tests
            Reporter: Michael Dürig

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. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message