HADOOP-15293. TestLogLevel fails on Java 9 Signed-off-by: Akira Ajisaka <aajis...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/99ab511c Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/99ab511c Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/99ab511c Branch: refs/heads/HDFS-12996 Commit: 99ab511cbac570bea9d31a55898b95590a8e3159 Parents: 4f39506 Author: Takanobu Asanuma <tasan...@yahoo-corp.jp> Authored: Fri Mar 9 10:20:35 2018 -0800 Committer: Akira Ajisaka <aajis...@apache.org> Committed: Fri Mar 9 10:20:35 2018 -0800 ---------------------------------------------------------------------- .../src/test/java/org/apache/hadoop/log/TestLogLevel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/99ab511c/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/log/TestLogLevel.java ---------------------------------------------------------------------- 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 16b4071..fd30b50 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 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()); } } --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org