Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 53902 invoked from network); 11 Mar 2006 12:51:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Mar 2006 12:51:06 -0000 Received: (qmail 24421 invoked by uid 500); 11 Mar 2006 12:51:06 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 24409 invoked by uid 99); 11 Mar 2006 12:51:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2006 04:51:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2006 04:51:05 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 07697D49F9 for ; Sat, 11 Mar 2006 12:50:44 +0000 (GMT) Message-ID: <154848445.1142081444834.JavaMail.jira@ajax> Date: Sat, 11 Mar 2006 12:50:44 +0000 (GMT) From: "Michael Bouschen (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Updated: (JDO-335) Close PMF after running each configuration In-Reply-To: <2122887269.1142079727013.JavaMail.jira@ajax> 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/JDO-335?page=all ] Michael Bouschen updated JDO-335: --------------------------------- Attachment: JDO-335.patch Attached you find a patch (JDO-335.patch) for review. It makes method JDO_Test.closePMF static, such that it can be called from BatchTestRunner. It also removes the call of closePMF from tearDown. > Close PMF after running each configuration > ------------------------------------------ > > Key: JDO-335 > URL: http://issues.apache.org/jira/browse/JDO-335 > Project: JDO > Type: Improvement > Components: tck20 > Versions: JDO 2 rc1 > Reporter: Michael Bouschen > Assignee: Michael Bouschen > Priority: Minor > Fix For: JDO 2 final > Attachments: JDO-335.patch > > Today method tearDown (that is run at the end of each test method) closes the pmf. > The proposal is to keep the pmf open for the next test method and close it at the end of running a configuration. That would allow to reuse resources bound to the pmf in multiple test cases. -- 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