Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 87176 invoked from network); 17 Jun 2009 21:40:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jun 2009 21:40:19 -0000 Received: (qmail 45963 invoked by uid 500); 17 Jun 2009 21:40:30 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 45934 invoked by uid 500); 17 Jun 2009 21:40:30 -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 45926 invoked by uid 99); 17 Jun 2009 21:40:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 21:40:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 17 Jun 2009 21:40:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B40DD29A0012 for ; Wed, 17 Jun 2009 14:40:07 -0700 (PDT) Message-ID: <1444472971.1245274807736.JavaMail.jira@brutus> Date: Wed, 17 Jun 2009 14:40:07 -0700 (PDT) From: "Tiago R. Espinha (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4217) Make the default port for the suites.All run configurable with a system property. In-Reply-To: <945410248.1241646090281.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tiago R. Espinha updated DERBY-4217: ------------------------------------ Attachment: DERBY-4217-basePort.patch Attaching a new patch that has Kathey's considerations implemented. I have also changed the way lastAssignedPort is initialized. I was wondering about whether it would be acceptable to encapsulate the following code into a BaseTestCase method. static { String port = BaseTestCase.getSystemProperty("derby.tests.basePort"); if (port == null) { lastAssignedPort = DEFAULT_PORT; } else { lastAssignedPort = Integer.parseInt(port); } } It is repeated three times throughout TestConfiguration and I thought that maybe we could have a getBasePort() in BaseTestCase that simply retrieves that property. Otherwise we can just leave it as is. > Make the default port for the suites.All run configurable with a system property. > --------------------------------------------------------------------------------- > > Key: DERBY-4217 > URL: https://issues.apache.org/jira/browse/DERBY-4217 > Project: Derby > Issue Type: Sub-task > Affects Versions: 10.6.0.0 > Reporter: Tiago R. Espinha > Assignee: Tiago R. Espinha > Attachments: DERBY-4217-basePort.patch, DERBY-4217-basePort.patch, DERBY-4217-dtap.patch, DERBY-4217-dtap.patch, DERBY-4217-dtp.patch, DERBY-4217-dtp.patch, DERBY-4217-dtp.patch, DERBY-4217-dtp.patch, DERBY-4217-dtp.patch, DERBY-4217-ij.patch, DERBY-4217-ij.patch, DERBY-4217-ij.patch, DERBY-4217-ij.patch, DERBY-4217-ij.patch, DERBY-4217-ij.stat, DERBY-4217-ij.stat, DERBY-4217.patch, DERBY-4217.patch, DERBY-4217.patch, DERBY-4217.patch, DERBY-4217.stat, DERBY-4217.stat, ErrorLog_suitesAll_bound.tgz, ReproNetworkServerControl.java > > > The goal is to make the port used for suites.All configurable through a system property passed on to the JVM. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.