db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4217) Make the default port for the suites.All run configurable with a system property.
Date Wed, 17 Jun 2009 21:00:07 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720889#action_12720889
] 

Kathey Marsden commented on DERBY-4217:
---------------------------------------

I think you can access an assertion with a static method by just  calling Assert.fail(...)
instead of return -1. I think because it is a runtime exception so should all work ok and
be handled properly by JUnit.  (junit.framework.Assert is already imported into TestConfiguration)

I really think the NetworkServerControl.ping  code should go and we should just let it fail
as you describe if someone makes a mistake and uses an in use port.  If the ping occurs on
some non-derby used port it is likely to hang. Without the code it is more likely to fail
when starting the server which will just give a bind error port in use message which will
be more helpful.

My untrained eye sees  your analysis of initEnvironment as correct, but I agree it would be
good to get  input on the Replication changes from Ole, Dag or someone more familiar with
replication to make sure.





> 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-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.


Mime
View raw message