Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 25124 invoked from network); 9 Aug 2006 16:24:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2006 16:24:05 -0000 Received: (qmail 9371 invoked by uid 500); 9 Aug 2006 16:24:00 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 9341 invoked by uid 500); 9 Aug 2006 16:24:00 -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 9266 invoked by uid 99); 9 Aug 2006 16:24:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 09:24:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 09:23:59 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E711F71421B for ; Wed, 9 Aug 2006 16:21:14 +0000 (GMT) Message-ID: <3598456.1155140474944.JavaMail.jira@brutus> Date: Wed, 9 Aug 2006 09:21:14 -0700 (PDT) From: "Julian Reschke (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-536) Session leak in API test cases In-Reply-To: <12260895.1155134293974.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JCR-536?page=all ] Julian Reschke updated JCR-536: ------------------------------- Attachment: JCR-536.diff.txt Proposed Patch. > Session leak in API test cases > ------------------------------ > > Key: JCR-536 > URL: http://issues.apache.org/jira/browse/JCR-536 > Project: Jackrabbit > Issue Type: Bug > Components: JCR TCK > Reporter: Julian Reschke > Priority: Minor > Attachments: JCR-536.diff.txt > > > In setUp(). AbstractPropertyTest checks whether it can execute the test and potentially throws an NotExecutableException. In this case, the helper Session is lost (without logging out), and the parent's tearDown() code isn't executed. > The same problem may be present in more test classes (will check). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira