Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 82619 invoked from network); 8 Feb 2007 08:03:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2007 08:03:29 -0000 Received: (qmail 3578 invoked by uid 500); 8 Feb 2007 08:03:34 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 3548 invoked by uid 500); 8 Feb 2007 08:03:34 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 3539 invoked by uid 99); 8 Feb 2007 08:03:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 00:03:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 00:03:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 565A97142BF for ; Thu, 8 Feb 2007 00:03:06 -0800 (PST) Message-ID: <1158928.1170921786350.JavaMail.jira@brutus> Date: Thu, 8 Feb 2007 00:03:06 -0800 (PST) From: "Shinichi Tanaka (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-737) unexpected session is used in XATest.testAddNodeCommit() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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.