Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 17250 invoked from network); 11 Aug 2006 17:02:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Aug 2006 17:02:04 -0000 Received: (qmail 17330 invoked by uid 500); 11 Aug 2006 17:01:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 17286 invoked by uid 500); 11 Aug 2006 17:01: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 17273 invoked by uid 99); 11 Aug 2006 17:01:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 10:01:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [68.142.198.200] (HELO smtp101.sbc.mail.mud.yahoo.com) (68.142.198.200) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 11 Aug 2006 10:01:50 -0700 Received: (qmail 80404 invoked from network); 11 Aug 2006 17:01:25 -0000 Received: from unknown (HELO ?127.0.0.1?) (ddebrunner@sbcglobal.net@75.24.104.214 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 11 Aug 2006 17:01:24 -0000 Message-ID: <44DCB7DC.3050905@apache.org> Date: Fri, 11 Aug 2006 10:01:16 -0700 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en, de MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [jira] Assigned: (DERBY-1664) Derby startup time is too slow References: <21233852.1155248954791.JavaMail.jira@brutus> <44DBC695.1060303@sbcglobal.net> <44DBCBCF.9070703@sun.com> <44DCAC66.5010503@sun.com> <44DCAF6E.8090406@apache.org> <44DCB2A5.4050407@sun.com> In-Reply-To: <44DCB2A5.4050407@sun.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii 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 David Van Couvering wrote: > Well, yes, but one might argue that we're going about it the wrong way: > "It takes too long to run derby tests because it takes so long to start > up the database." "Ok, well, let's fix it so that you don't have to > restart the database for each unit test." I think for the tests it's really a case of "It takes too long to run derby tests because we run a separate JVM for each test case". My total guess is that making derby boot/create databases faster could bring the tests down from 5+ hours to 4+ hours. My guess for moving to JUnit wil bring them down to under 2 hours. It's all good work, complementing each other. Just when I see someone complain about somthing in open source, my automatic reaction is to get them involved, complaining won't fix anything, "doing" does. Seems like the JUnit work should have the option of either re-using & cleaning the current database, or creating a new one. Might be a useful comparision across a set of tests. Dan.