jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Zamosenchuk (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCRTCK-9) Jcr-Test: SerializationTest logs exception during tearDown.
Date Wed, 30 Jun 2010 08:11:51 GMT

    [ 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.


Mime
View raw message