Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 12497 invoked from network); 6 Mar 2007 20:55:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2007 20:55:45 -0000 Received: (qmail 29684 invoked by uid 500); 6 Mar 2007 20:55:53 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 29654 invoked by uid 500); 6 Mar 2007 20:55: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 29645 invoked by uid 99); 6 Mar 2007 20:55:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 12:55:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 12:55:44 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 557697140A1 for ; Tue, 6 Mar 2007 12:55:24 -0800 (PST) Message-ID: <31582701.1173214524346.JavaMail.root@brutus> Date: Tue, 6 Mar 2007 12:55:24 -0800 (PST) From: "Andrew McIntyre (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-2404) BadConnectionTest.java hardcodes port 1527 In-Reply-To: <13755032.1173154104910.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew McIntyre resolved DERBY-2404. ------------------------------------ Resolution: Fixed Fix Version/s: 10.3.0.0 Derby Info: (was: [Patch Available]) Thanks, Dag. Committed to trunk with revision 515297. > BadConnectionTest.java hardcodes port 1527 > ------------------------------------------ > > Key: DERBY-2404 > URL: https://issues.apache.org/jira/browse/DERBY-2404 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.3.0.0 > Reporter: Dag H. Wanvik > Assigned To: Andrew McIntyre > Priority: Minor > Fix For: 10.3.0.0 > > Attachments: derby-2404-v1.diff, derby-2404-v2.diff > > > This test references port 1527; it should use the current test > configuration's method getPort instead, to make it possible to run > several tests on the same machine concurrently. > When I experimented and changed TestConfiguration.DEFAULT_PORT to > something else but 1527, running suites.All crashed in > BadConnectionTest.java, and also crashed the JUnit textui.TestRunner > with this message: "Couldn't get I/O for the connection to: > localhost". No failure explanation or stack trace was printed on the > console. Not sure why... > Running the test separately, the testrunner survived to show the > failures. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.