testParseAndValidateAddressesWithReverseLookup fails because
getAllByNames("localhost") behaves differently between windows and linux.
Generally platform differences is going to be an issue for testing this,
localhost reverse lookup could return one or multiple entries, with or without
IPv6 entries etc.
We could use something like SystemUtils.IS_OS_WINDOWS to make the test
conditional.
Or we could mock InetAddress completely but that would require some relative
trickery.
Open to suggestions on how to fix this.
[ Full content available at: https://github.com/apache/kafka/pull/4485 ]
This message was relayed via gitbox.apache.org for [email protected]