Dale Emery created GEODE-8752:
---------------------------------

             Summary: 
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


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)

Reply via email to