File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
client/src/test/java/org/asynchttpclient/spnego Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,9 @@ public void testGetCompleteServicePrincipalName() throws Exception {
135135 null ,
136136 null ,
137137 null );
138- Assert .assertNotEquals ("HTTP@localhost" , spnegoEngine .getCompleteServicePrincipalName ("localhost" ));
138+ // 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"));
139141 Assert .assertTrue (spnegoEngine .getCompleteServicePrincipalName ("localhost" ).startsWith ("HTTP@" ));
140142 }
141143 {
You can’t perform that action at this time.
0 commit comments