[ 
https://issues.apache.org/jira/browse/GEODE-10141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dale Emery updated GEODE-10141:
-------------------------------
    Labels: Java17  (was: )

> 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
>            Priority: Major
>              Labels: Java17
>
> `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)

Reply via email to