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 Thu, 04 Jun 2009 11:23:07 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: DERBY-4217-dtp.patch

I'm submitting a preliminary patch for derby.tests.port.

This patch should NOT be committed. I am pretty sure I have some issues on the TestConfiguration
class because of conflicts with the previous ij patch. I will be running suites.All to iron
out what's still amiss.

This patch already covers the ServerPropertiesTest that I commented about earlier. Also, unlike
what I said, this one test is keeping its own getAlternativePort() method as the behavior
expected is different. This test expects the getAlternativePort() method to continuously supply
ports that are valid alternatives to the main port. This was done by going with +1 increments
to the default port until it finds a port that is unbound to any server. This behavior is
kept but instead of using the default port as a base, it now uses the derby.tests.port property.

The derby.tests.alternativePort property wouldn't be much good here as this test requires
several (4 or 5) alternative ports and is just a very special case of using alternative ports.

> 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:
>            Reporter: Tiago R. Espinha
>            Assignee: Tiago R. Espinha
>         Attachments: 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,
> 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.

View raw message