You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ryan McMahon (JIRA)" <ji...@apache.org> on 2019/08/02 16:27:00 UTC

[jira] [Resolved] (GEODE-7029) PersistentPartitionedRegionDistributedTest.missingDiskStoreCanBeRevokedBeforeStartingServer() test can fail if loopback address is returned by INetAddress.getLocalHost()

     [ 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)