You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Lawlor (JIRA)" <ji...@apache.org> on 2015/04/27 20:16:39 UTC

[jira] [Commented] (HBASE-13575) TestChoreService has to make sure that the opened ChoreService is closed for each unit test

    [ https://issues.apache.org/jira/browse/HBASE-13575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14514597#comment-14514597 ] 

Jonathan Lawlor commented on HBASE-13575:
-----------------------------------------

Good idea [~syuanjiang]

> TestChoreService has to make sure that the opened ChoreService is closed for each unit test
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-13575
>                 URL: https://issues.apache.org/jira/browse/HBASE-13575
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 1.1.0, 1.2.0
>            Reporter: Stephen Yuan Jiang
>            Assignee: Stephen Yuan Jiang
>            Priority: Trivial
>
> The TestChoreService shut down the opened ChoreService after each individual unit test.  This is to avoid test failure with enormous amount of active threads at the end of test on slow virtual host (see HBASE-12992).  However, the service shut down was not wrapped around the 'finally'-block to guarantee the execution when exception throws.  The fix is trial.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)