You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2012/10/10 23:41:02 UTC

[jira] [Created] (JCR-3444) Tests for which setup fails leak sessions

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