geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-5479) Fix sloppy getRandomAvailableTCPPort() usage
Date Wed, 01 Aug 2018 23:37:00 GMT

    [ https://issues.apache.org/jira/browse/GEODE-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16566155#comment-16566155
] 

ASF subversion and git services commented on GEODE-5479:
--------------------------------------------------------

Commit dcf6b8cf0cd0f506ac708bf04cab74dbeb8844c2 in geode's branch refs/heads/develop from
pivotal-amurmann
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=dcf6b8c ]

GEODE-5479 - Fix usage of AvailablePortHelper (#2206)

We were getting two separate random ports and not validating that the
ports are actually distinct. This change gets both ports at the same time
and thus ensures uniqueness.

> Fix sloppy getRandomAvailableTCPPort() usage
> --------------------------------------------
>
>                 Key: GEODE-5479
>                 URL: https://issues.apache.org/jira/browse/GEODE-5479
>             Project: Geode
>          Issue Type: Task
>          Components: tests
>            Reporter: Alexander Murmann
>            Assignee: Alexander Murmann
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Both RegionChangesPersistThroughClusterConfigurationDUnitTest and RestAPIsWithSSLDUnitTest
are making repeat calls to the port helper and are not ensuring that the ports are actually
unique. This needs to be fixed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message