Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7029

PersistentPartitionedRegionDistributedTest.missingDiskStoreCanBeRevokedBeforeStartingServer() test can fail if loopback address is returned by INetAddress.getLocalHost()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: tests
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rmcmahon Ryan McMahon
                Reporter:
                rmcmahon Ryan McMahon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m