Dale Emery created GEODE-10141: ---------------------------------- Summary: GMSJoinLeaveJUnitTest is overly specific about the expected exception message Key: GEODE-10141 URL: https://issues.apache.org/jira/browse/GEODE-10141 Project: Geode Issue Type: Improvement Components: membership, tests Affects Versions: 1.15.0 Reporter: Dale Emery
`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"`. -- This message was sent by Atlassian Jira (v8.20.1#820001)