[ https://issues.apache.org/jira/browse/GEODE-10141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen Nichols closed GEODE-10141. -------------------------------- > 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 > Assignee: Darrel Schneider > Priority: Major > Labels: Java17, pull-request-available > Fix For: 1.15.0 > > > `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.7#820007)