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

GMSJoinLeaveJUnitTest is overly specific about the expected exception message

    XMLWordPrintableJSON

Details

    Description

      `GMSJoinLeave` throws the correct exception type, with a message correctly describing its inability to connect to the locators at the specified unresolved addresses. But the test's assertion is overly specific about the description of an unresolved address, and fails on JDK 17.

      In JDKs up through 13, `toString()` of an unresolved `InetSocketAddress` returned `"hostname:port"`. Starting with JDK 14 it returns `"hostname/<unresolved>:port"`.

      Attachments

        Issue Links

          Activity

            People

              dschneider Darrel Schneider
              demery Dale Emery
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: