db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Solberg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4427) TestConfiguration.existingServerSuite(....,portNumber) must use the supplied portNumber
Date Thu, 29 Oct 2009 11:14:59 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771386#action_12771386

Ole Solberg commented on DERBY-4427:

Yes, for completeness, it should be backported.

> TestConfiguration.existingServerSuite(....,portNumber) must use the supplied portNumber
> ---------------------------------------------------------------------------------------
>                 Key: DERBY-4427
>                 URL: https://issues.apache.org/jira/browse/DERBY-4427
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication, Test
>    Affects Versions:
>         Environment: All
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>            Priority: Minor
>         Attachments: DERBY-existingServer_Fix_diff.txt, DERBY-existingServer_Fix_stat.txt
> When testing distributed replication I found that test clients/load would always use
(default) port 1527 even if a different master port number had been specified. The correct/specified
port number was used when starting the master server. 
> This was caused by a call to 'TestConfiguration.getCurrent().getPort()' on an uninitialized
TestConfiguration. The fix is to use the supplied portNumber parameter.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message