[ https://issues.apache.org/jira/browse/GEODE-8752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242611#comment-17242611 ]
ASF GitHub Bot commented on GEODE-8752: --------------------------------------- demery-pivotal merged pull request #5797: URL: https://github.com/apache/geode/pull/5797 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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)