We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 492cb67 commit 26d1cc0Copy full SHA for 26d1cc0
client/src/test/java/org/asynchttpclient/spnego/SpnegoEngineTest.java
@@ -135,7 +135,9 @@ public void testGetCompleteServicePrincipalName() throws Exception {
135
null,
136
137
null);
138
- Assert.assertNotEquals("HTTP@localhost", spnegoEngine.getCompleteServicePrincipalName("localhost"));
+ // FIXME see https://github.com/AsyncHttpClient/async-http-client/issues/1706
139
+ // InetAddress.getByName("localhost").getCanonicalHostName() returns 127.0.0.1 with JDK8 and localhost with JDK11.
140
+ // Assert.assertNotEquals("HTTP@localhost", spnegoEngine.getCompleteServicePrincipalName("localhost"));
141
Assert.assertTrue(spnegoEngine.getCompleteServicePrincipalName("localhost").startsWith("HTTP@"));
142
}
143
{
0 commit comments