HADOOP-15293. TestLogLevel fails on Java 9

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
Takanobu Asanuma 2018-03-09 10:20:35 -08:00 committed by Akira Ajisaka
parent 4f395063bb
commit 99ab511cba
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -358,7 +358,7 @@ public void testLogLevelByHttp() throws Exception {
} catch (SSLException e) { } catch (SSLException e) {
GenericTestUtils.assertExceptionContains("Error while authenticating " GenericTestUtils.assertExceptionContains("Error while authenticating "
+ "with endpoint", e); + "with endpoint", e);
GenericTestUtils.assertExceptionContains("Unrecognized SSL message", e GenericTestUtils.assertExceptionContains("recognized SSL message", e
.getCause()); .getCause());
} }
} }
@ -379,7 +379,7 @@ public void testLogLevelByHttpWithSpnego() throws Exception {
} catch (SSLException e) { } catch (SSLException e) {
GenericTestUtils.assertExceptionContains("Error while authenticating " GenericTestUtils.assertExceptionContains("Error while authenticating "
+ "with endpoint", e); + "with endpoint", e);
GenericTestUtils.assertExceptionContains("Unrecognized SSL message", e GenericTestUtils.assertExceptionContains("recognized SSL message", e
.getCause()); .getCause());
} }
} }