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] Assigned: (JCR-737) unexpected session is used in XATest.testAddNodeCommit()
Date Fri, 09 Feb 2007 09:12:05 GMT

     [ https://issues.apache.org/jira/browse/JCR-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Reutegger reassigned JCR-737:
------------------------------------

    Assignee: Marcel Reutegger

> unexpected session is used  in XATest.testAddNodeCommit()
> ---------------------------------------------------------
>
>                 Key: JCR-737
>                 URL: https://issues.apache.org/jira/browse/JCR-737
>             Project: Jackrabbit
>          Issue Type: Test
>          Components: test
>    Affects Versions: 1.2.1
>            Reporter: Shinichi Tanaka
>         Assigned To: Marcel Reutegger
>            Priority: Minor
>
> In org.apache.jackrabbit.core.XATest.java:137
>         // assertion: node exists in this session
>         try {
>             otherSuperuser.getNodeByUUID(n.getUUID());
>         } catch (ItemNotFoundException e) {
>             fail("Committed node not visible in this session");
>         }
>         // assertion: node also exists in other session
>         try {
>             otherSuperuser.getNodeByUUID(n.getUUID());
>         } catch (ItemNotFoundException e) {
>             fail("Committed node not visible in other session");
>         }
> The session instance of 'otherSuperuser' is used two times. In the first case, I think
that it is not 'otherSuperuser' but 'superuser'. 

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