HADOOP-15293. TestLogLevel fails on Java 9

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
Takanobu Asanuma 2018-03-09 10:20:35 -08:00 committed by Akira Ajisaka
parent 4f395063bb
commit 99ab511cba
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
1 changed files with 2 additions and 2 deletions

View File

@ -358,7 +358,7 @@ public class TestLogLevel extends KerberosSecurityTestcase {
} catch (SSLException e) {
GenericTestUtils.assertExceptionContains("Error while authenticating "
+ "with endpoint", e);
GenericTestUtils.assertExceptionContains("Unrecognized SSL message", e
GenericTestUtils.assertExceptionContains("recognized SSL message", e
.getCause());
}
}
@ -379,7 +379,7 @@ public class TestLogLevel extends KerberosSecurityTestcase {
} catch (SSLException e) {
GenericTestUtils.assertExceptionContains("Error while authenticating "
+ "with endpoint", e);
GenericTestUtils.assertExceptionContains("Unrecognized SSL message", e
GenericTestUtils.assertExceptionContains("recognized SSL message", e
.getCause());
}
}