hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18858) Ensures all resources are closed at the end of tests
Date Thu, 09 Nov 2017 02:03:01 GMT

     [ https://issues.apache.org/jira/browse/HBASE-18858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Purtell updated HBASE-18858:
-----------------------------------
    Fix Version/s:     (was: 2.0.0-beta-1)
                       (was: 1.2.7)
                       (was: 1.3.2)

> Ensures all resources are closed at the end of tests
> ----------------------------------------------------
>
>                 Key: HBASE-18858
>                 URL: https://issues.apache.org/jira/browse/HBASE-18858
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>         Attachments: HBASE-18858.branch-1.v0.patch
>
>
> {code}
>   public static void tearDownAfterClass() throws Exception {
>     htable2.close();
>     htable1.close();
>     admin.close();
>     utility2.shutdownMiniCluster();
>     utility1.shutdownMiniCluster();
>   }
> {code}
> If the setUpBeforeClass() fail, some members will be NULL. We need to ensures all resources
are closed at the end of tests.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message