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:
parent
ebf569793b
commit
cc842231df
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue