[
https://issues.apache.org/jira/browse/HBASE-13731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554600#comment-14554600
]
Ted Yu commented on HBASE-13731:
--------------------------------
This is test only change and TestReplicationAdmin passed:
{code}
Running org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.779 sec - in
org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
{code}
+1
> TestReplicationAdmin not clean up MiniZKCluster resource
> --------------------------------------------------------
>
> Key: HBASE-13731
> URL: https://issues.apache.org/jira/browse/HBASE-13731
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 2.0.0, 1.1.0, 1.2.0
> Reporter: Stephen Yuan Jiang
> Assignee: Stephen Yuan Jiang
> Priority: Trivial
> Fix For: 2.0.0, 1.2.0, 1.1.1
>
> Attachments: HBASE-13731.patch
>
>
> org.apache.hadoop.hbase.client.replication.TestReplicationAdmin Unit test has
> a @BeforeClass component to start MiniZKCluster, but it does not have a
> @AfterClass component to shut down MiniZKCluster and clean up the resources
> from MiniZKCluster. In Jenkins machine that continuously run tests, the
> resource leak could affect other tests.
> The solution is trivial.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)