jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1361) Lock test assumes that changes in one session are immediately visible in different session
Date Wed, 06 Feb 2008 10:41:08 GMT

    [ https://issues.apache.org/jira/browse/JCR-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566073#action_12566073
] 

Marcel Reutegger commented on JCR-1361:
---------------------------------------

+1

> Lock test assumes that changes in one session are immediately visible in different session
> ------------------------------------------------------------------------------------------
>
>                 Key: JCR-1361
>                 URL: https://issues.apache.org/jira/browse/JCR-1361
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-jcr-tests
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>
> LockTest.testLogout() assumes that a change in one session (logging out, removing a session-scoped
lock) is immediately visible in another session.
> Proposal: insert a 
>  n1.getSession().refresh(true);
> call before checking
>  assertFalse("node must not be locked", n1.isLocked());

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