[
https://issues.apache.org/jira/browse/HBASE-24893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abhey Rana updated HBASE-24893:
-------------------------------
Labels: pull-request-available (was: )
Status: Patch Available (was: Open)
This PR introduces changes to fix the failing TestLogLevel unit tests.
Post making this change I looked into the branch-2 tests on ci-hadoop and found
that the same test was passing for the same profile ie [JDK 8 + Hadoop 2]. So I
delved into the code-base for this test in branch-2 and found that a similar
fix had already been done to branch-2 as part of HBASE-23829. Here is the link
to the PR introducing similar code change in branch-2 -
https://github.com/apache/hbase/pull/1296/files#diff-88475ac51af9e041c429e33afc3e8ca0
This PR basically cherrypicks the changes in the TestLogLevel class as
introduced in https://github.com/apache/hbase/pull/1296
> TestLogLevel failing on hadoop-ci (branch-1)
> --------------------------------------------
>
> Key: HBASE-24893
> URL: https://issues.apache.org/jira/browse/HBASE-24893
> Project: HBase
> Issue Type: Bug
> Components: test
> Reporter: Andrew Kyle Purtell
> Assignee: Abhey Rana
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.0
>
>
> TestLogLevel is failing the branch-1 builds on hadoop-ci.
> The test needs some improvement. The code seems to be doing the right thing
> but the error condition the test is expecting varies by JVM or JVM version:
> {noformat}
> Expected to find 'Unrecognized SSL message' but got unexpected exception:
> javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)