Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 62203 invoked from network); 16 Oct 2009 11:02:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Oct 2009 11:02:54 -0000 Received: (qmail 21809 invoked by uid 500); 16 Oct 2009 11:02:53 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 21772 invoked by uid 500); 16 Oct 2009 11:02:53 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 21764 invoked by uid 99); 16 Oct 2009 11:02:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 11:02:53 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 11:02:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4A20A234C045 for ; Fri, 16 Oct 2009 04:02:31 -0700 (PDT) Message-ID: <776704628.1255690951289.JavaMail.jira@brutus> Date: Fri, 16 Oct 2009 04:02:31 -0700 (PDT) From: "Ole Solberg (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4409) Make some tests run faster by using CleanDatabaseSetup + decorateSQL + rollback idiom In-Reply-To: <1206111353.1255560871283.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766501#action_12766501 ] Ole Solberg commented on DERBY-4409: ------------------------------------ TinderBox test / suites.All failed with just exitting. Looking at the diff, via JIRA, I found a 'System.exit(1);': - commit(); - super.tearDown(); + getConnection().commit(); + System.exit(1); + } + }; } /** @@ -10295,7 +10298,7 @@ "ORDER BY CS.ID DESC"; Running suites.All now with a minimal patch that replaces 'System.exit(1);' with the original 'st.close();' > Make some tests run faster by using CleanDatabaseSetup + decorateSQL + rollback idiom > -------------------------------------------------------------------------------------- > > Key: DERBY-4409 > URL: https://issues.apache.org/jira/browse/DERBY-4409 > Project: Derby > Issue Type: Improvement > Components: Test > Reporter: Dag H. Wanvik > Priority: Minor > Fix For: 10.6.0.0 > > Attachments: OrderByAndSortAvoidance-faster-2.diff, OrderByAndSortAvoidance-faster-2.stat, OrderByAndSortAvoidance-faster.diff, OrderByAndSortAvoidance-faster.stat > > > For example, for OrderByAndSortAvoidance, this reduces running time on my box from ca 5 minutes to ca 1 minute, cf > patch OrderByAndSortAvoidance-faster. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.