-
Bug
-
Resolution: Done
-
Major
-
12.0.0.Dev02
-
None
HotRodClientJmxTest.testRemoteCacheManagerMBean assumes that the result of InetSocketAddress.toString() for an unresolved address is in the format hostname:port. But the format changed in Java 14, and now the format is hostname/<unresolved>:port.
java.lang.AssertionError: expected:<localhost:37809> but was:<localhost/<unresolved>:37809> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101) at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108) at org.infinispan.client.hotrod.HotRodClientJmxTest.testRemoteCacheManagerMBean(HotRodClientJmxTest.java:84)
It might be a good idea to change the JMX attribute to only return the hostname instead of changing the test.