jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1810) Jcr-Test: SerializationTest logs exception during tearDown.
Date Tue, 14 Oct 2008 07:07:44 GMT
Jcr-Test: SerializationTest logs exception during tearDown.
-----------------------------------------------------------

                 Key: JCR-1810
                 URL: https://issues.apache.org/jira/browse/JCR-1810
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-jcr-tests
            Reporter: angela
            Priority: Minor


SerializationTest logs during tearDown the following exception:
 javax.jcr.RepositoryException: This session has been closed

from my point of view this is caused by the Session.logout already called in the test, while
the session used
is the 'superuser' that will later be used to clean up the test data.

setUp:
session = superuser;

tearDown:
if (session != null && session.isLive()) {
            session.logout();
            session = null;
        }

i guess the latter could be skipped. logging out the 'superuser' is completed in the AbstractJCRTest
and the other test cases rely on that as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message