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.

Reply via email to