Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 10171 invoked from network); 24 Mar 2007 04:37:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Mar 2007 04:37:53 -0000 Received: (qmail 4940 invoked by uid 500); 24 Mar 2007 04:38:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 4908 invoked by uid 500); 24 Mar 2007 04:38:01 -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 4898 invoked by uid 99); 24 Mar 2007 04:38:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 21:38:01 -0700 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; Fri, 23 Mar 2007 21:37:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 57DBF714058 for ; Fri, 23 Mar 2007 21:37:32 -0700 (PDT) Message-ID: <8111919.1174711052357.JavaMail.jira@brutus> Date: Fri, 23 Mar 2007 21:37:32 -0700 (PDT) From: "Andrew McIntyre (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-2418) TestProto.java used by testProtocol.java hardcodes port 1527 In-Reply-To: <24916290.1173324744125.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-2418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew McIntyre resolved DERBY-2418. ------------------------------------ Resolution: Fixed Fix Version/s: 10.3.0.0 Derby Info: (was: [Patch Available]) Committed _try2 patch to trunk with revision 521977 > TestProto.java used by testProtocol.java hardcodes port 1527 > ------------------------------------------------------------ > > Key: DERBY-2418 > URL: https://issues.apache.org/jira/browse/DERBY-2418 > Project: Derby > Issue Type: Improvement > Components: Test > Reporter: Dag H. Wanvik > Assigned To: Julius Stroffek > Priority: Minor > Fix For: 10.3.0.0 > > Attachments: d2418.diff, d2418.stat, d2418_try2.diff, d2418_try2.stat > > > NetHarnessJavaTest reuses the old framework test 'testProtocol' via > old framework adapter HarnessJavaTest. > testProtocol uses the class TestProto which hardcodes use of port 1527. > It would be nice to pass the port used in the current TestConfiguration > to testProtocol/TestProto so the JUnit suites can move towards being runnable > with another port than the default. > Currently, using another port than 1527 for TestConfiguration.DEFAULT_PORT, > the test fails and crashes JUnit's TestRunner with the console message: > Couldn't get I/O for the connection to: localhost -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.