[
https://issues.apache.org/jira/browse/JCRTCK-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883835#action_12883835
]
Nikolay Zamosenchuk commented on JCRTCK-9:
------------------------------------------
Hi, all!
Is it planned to be fixed in near future?
> Jcr-Test: SerializationTest logs exception during tearDown.
> -----------------------------------------------------------
>
> Key: JCRTCK-9
> URL: https://issues.apache.org/jira/browse/JCRTCK-9
> Project: Jackrabbit JCR Tests
> Issue Type: Bug
> 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.