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 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()); } }