Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 1598 invoked from network); 26 May 2005 23:18:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2005 23:18:12 -0000 Received: (qmail 58705 invoked by uid 500); 26 May 2005 23:18:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 58476 invoked by uid 500); 26 May 2005 23:18:10 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 58462 invoked by uid 99); 26 May 2005 23:18:10 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from e1.ny.us.ibm.com (HELO e1.ny.us.ibm.com) (32.97.182.141) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 26 May 2005 16:18:08 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e1.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j4QNI14k018143 for ; Thu, 26 May 2005 19:18:01 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j4QNI1bY154354 for ; Thu, 26 May 2005 19:18:01 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j4QNHo5K016870 for ; Thu, 26 May 2005 19:17:51 -0400 Received: from [127.0.0.1] (sig-9-48-112-220.mts.ibm.com [9.48.112.220]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j4QNHdhI016306 for ; Thu, 26 May 2005 19:17:45 -0400 Message-ID: <42965908.20808@debrunners.com> Date: Thu, 26 May 2005 16:17:28 -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 MIME-Version: 1.0 To: Derby Development Subject: Re: [jira] Updated: (DERBY-230) "Schema already exists" when creating a table References: <1292804070.1116587761316.JavaMail.jira@ajax.apache.org> <42961193.2070601@sbcglobal.net> <42961DC7.4000409@sbcglobal.net> In-Reply-To: X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N �ystein Gr�vlen wrote: > Thank you very much for your helpful advice. I am still learning > about the testing framework, and I have a few questions below. > > >>>>>>"A" == Army writes: > > > A> My one comment is that you don't run the new > A> ConcurrentImplicitCreateSchema.java test against the Network > A> Server--is there a reason for that? > > I must admit that I did not understand what was needed to get it to > run as part of the network server test. I am still a bit confused, > because earlier today one email contained something about putting a > test in some file to _exclude_ it from the network server test. > > A> This diff occurs because no user/id is provided on the > A> "getConnection()" call that occurs in the constructor for CreateTable. > A> I added a dummy user and password value to that call and re-ran the > A> test against Network Server, and it passed (both with the JCC client > A> and with Derby Network Client). SO, I think it'd be good to make this > A> change as part of the patch and then to add > A> "lang/ConcurrentImplicitCreateSchema.java" to the > A> "derbynetmats.runall" file so that it runs against the server, as > A> well. > > I will do this and resubmit the patch. Should it also be added to the > derbynetclientmats.runall? Any reason why this test doesn't use the same mechanism as the other java tests to get a connection? Direct use of DriverManager automatically excludes the test from being run in JSR169. The util.startJBMS() call you see in other tests should be the preferred way to get a connection. This will then pick up any test properties that modify how connections should be obtained. Dan.