[ https://issues.apache.org/jira/browse/GEODE-8752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242612#comment-17242612 ]
ASF subversion and git services commented on GEODE-8752: -------------------------------------------------------- Commit b8cc101a9bd95b68d3f5fe939060f08c698dc1c7 in geode's branch refs/heads/develop from Dale Emery [ https://gitbox.apache.org/repos/asf?p=geode.git;h=b8cc101 ] GEODE-8752: Revoke using member's actual address (#5797) When revoking a persistent member, PersistentPartitionedRegionDistributedTest now uses the to-be-revoked member's actual inet address in the revocation pattern. > PersistentPartitionedRegionDistributedTest.missingDiskStoreCanBeRevokedBeforeStartingServer() > test uses wrong address to revoke > ------------------------------------------------------------------------------------------------------------------------------- > > Key: GEODE-8752 > URL: https://issues.apache.org/jira/browse/GEODE-8752 > Project: Geode > Issue Type: Test > Components: tests > Affects Versions: 1.14.0 > Reporter: Dale Emery > Assignee: Dale Emery > Priority: Major > Labels: GeodeOperationAPI, pull-request-available > > PersistentPartitionedRegionDistributedTest.missingDiskStoreCanBeRevokedBeforeStartingServer() > test uses the wrong address to revoke persistent members. > The product uses {{LocalHostUtil.getLocalHost()}} in its member IDs. > Once upon a time, the test used {{InetAddress.getLocalHost()}} to get the > address to revoke, but in some circumstances that can return an in > appropriate address. > GEODE-7029 changed the test to use a different mechanism to find the address > to revoke: Walk through all available addresses on all available interfaces > to find a non-loopback IPv4 address. But in some circumstances that can > return an address other than the one used in the to-be-revoked member's ID, > and the test fails. > Both of these methods of getting the revoke address rest on unwarranted > assumptions. The test should instead query the member to discover the address > used in its actual ID, then use that address to revoke the member. -- This message was sent by Atlassian Jira (v8.3.4#803005)