db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tiago R. Espinha (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4217) Make the default port for the suites.All run configurable with a system property.
Date Fri, 08 May 2009 20:16:45 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tiago R. Espinha updated DERBY-4217:
------------------------------------

    Attachment: ReproNetworkServerControl.java
                DERBY-4217.patch

First I have to leave a heads-up. Do NOT commit these patches into the trunk as they are still
being tested.

I have run into something weird that I could use an extra pair of eyes on.

Basically, this Repro contains a test that passes if the property -Dderby.tests.port=1527
but fails with pretty much any other port.

In essence, by running:
java -Dderby.tests.port=1527 junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.derbynet.ReproNetworkServerControl

the test passes. However, if you run it like:
java -Dderby.tests.port=9980 junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.derbynet.ReproNetworkServerControl

the test will fail with an assertion error.

Please keep in mind that you have to apply this latest patch to get the described behavior.


> 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.patch, DERBY-4217.patch, DERBY-4217.patch, DERBY-4217.stat,
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.


Mime
View raw message