geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McMahon (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GEODE-7029) PersistentPartitionedRegionDistributedTest.missingDiskStoreCanBeRevokedBeforeStartingServer() test can fail if loopback address is returned by INetAddress.getLocalHost()
Date Fri, 02 Aug 2019 16:27:00 GMT

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

Ryan McMahon resolved GEODE-7029.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10.0

> PersistentPartitionedRegionDistributedTest.missingDiskStoreCanBeRevokedBeforeStartingServer()
test can fail if loopback address is returned by INetAddress.getLocalHost()
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7029
>                 URL: https://issues.apache.org/jira/browse/GEODE-7029
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Ryan McMahon
>            Assignee: Ryan McMahon
>            Priority: Major
>              Labels: GeodeCommons
>             Fix For: 1.10.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> It is possible that the INetAddress.getLocalHost() calls in the PersistentPartitionedRegionDistributedTest.missingDiskStoreCanBeRevokedBeforeStartingServer()
test can return the loopback address depending on which network interfaces are available and
the test machines /etc/hosts configuration.  This causes the test to fail because the persistent
member revoke pattern won't match and therefore the expected RevokeFailedException is not
thrown.  We should make the logic more robust so that the test isn't as dependent on environment.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message