Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 14709 invoked from network); 8 Mar 2007 05:22:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 05:22:06 -0000 Received: (qmail 24476 invoked by uid 500); 8 Mar 2007 05:22:14 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 24434 invoked by uid 500); 8 Mar 2007 05:22:14 -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 24421 invoked by uid 99); 8 Mar 2007 05:22:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 21:22:14 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.18.1.36] (HELO gmp-ea-fw-1.sun.com) (192.18.1.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 21:22:04 -0800 Received: from d1-emea-10.sun.com ([192.18.2.120]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l285LcHs018459 for ; Thu, 8 Mar 2007 05:21:39 GMT Received: from conversion-daemon.d1-emea-10.sun.com by d1-emea-10.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JEK00B01K4XBF00@d1-emea-10.sun.com> (original mail from Dag.Wanvik@Sun.COM) for derby-dev@db.apache.org; Thu, 08 Mar 2007 05:21:38 +0000 (GMT) Received: from khepri05.norway.sun.com ([129.159.112.194]) by d1-emea-10.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JEK00I0XK81UL00@d1-emea-10.sun.com> for derby-dev@db.apache.org; Thu, 08 Mar 2007 05:21:38 +0000 (GMT) Date: Thu, 08 Mar 2007 06:21:33 +0100 From: Dag.Wanvik@Sun.COM (Dag H. Wanvik) Subject: Re: [jira] Updated: (DERBY-2418) TestProto.java used by testProtocol.java hardcodes port 1527 Sender: Dag.Wanvik@Sun.COM To: derby-dev@db.apache.org Message-id: <17903.40285.407032.13169@gargle.gargle.HOWL> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Draft-From: ("nnml:Derby-JIRA" 5232) References: <17782279.1173324744293.JavaMail.root@brutus> X-Virus-Checked: Checked by ClamAV on apache.org Temporarily hardcoding the port value in this test to the same value as TestConfiguration.DEFAULT_PORT, I was able to run all of suites.All successfully, so fixing this would allow running the suite with a different default port. That does not mean that no server is started with port 1527 during the run of suite.All, however: DerbyNetNewServer run from NetHarnessJavaTest does not specify port when it starts a server, so this defaults to 1527 as well. By blocking 1527, I found no other instances of suite.All tests insisting on using it, so it seems the only two "culprits" right now are TestProto.java and DerbyNetNewServer.java. The singularity here would be a test, testing that the default actually being 1527, of course. The suite might skip such a test, were it to be made, in the case that TestConfiguration.port were set to a value other than 1527. Dag