HADOOP-15293. TestLogLevel fails on Java 9

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 99ab511cba)

 Conflicts:
	hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/log/TestLogLevel.java
This commit is contained in:
Takanobu Asanuma 2018-03-09 10:20:35 -08:00 committed by Akira Ajisaka
parent ebf569793b
commit cc842231df
1 changed files with 2 additions and 2 deletions

View File

@ -356,7 +356,7 @@ public class TestLogLevel extends KerberosSecurityTestcase {
fail("A HTTPS Client should not have succeeded in connecting to a " +
"HTTP server");
} catch (SSLException e) {
GenericTestUtils.assertExceptionContains("Unrecognized SSL message", e);
GenericTestUtils.assertExceptionContains("recognized SSL message", e);
}
}
@ -374,7 +374,7 @@ public class TestLogLevel extends KerberosSecurityTestcase {
fail("A HTTPS Client should not have succeeded in connecting to a " +
"HTTP server");
} catch (SSLException e) {
GenericTestUtils.assertExceptionContains("Unrecognized SSL message", e);
GenericTestUtils.assertExceptionContains("recognized SSL message", e);
}
}