From 99ab511cbac570bea9d31a55898b95590a8e3159 Mon Sep 17 00:00:00 2001 From: Takanobu Asanuma Date: Fri, 9 Mar 2018 10:20:35 -0800 Subject: [PATCH] HADOOP-15293. TestLogLevel fails on Java 9 Signed-off-by: Akira Ajisaka --- .../src/test/java/org/apache/hadoop/log/TestLogLevel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/log/TestLogLevel.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/log/TestLogLevel.java index 16b4071ed8..fd30b50141 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/log/TestLogLevel.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/log/TestLogLevel.java @@ -358,7 +358,7 @@ public void testLogLevelByHttp() throws Exception { } 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 void testLogLevelByHttpWithSpnego() throws Exception { } catch (SSLException e) { GenericTestUtils.assertExceptionContains("Error while authenticating " + "with endpoint", e); - GenericTestUtils.assertExceptionContains("Unrecognized SSL message", e + GenericTestUtils.assertExceptionContains("recognized SSL message", e .getCause()); } }