You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xu Cang (JIRA)" <ji...@apache.org> on 2019/02/19 22:51:00 UTC

[jira] [Updated] (HBASE-21929) The checks at the end of TestRpcClientLeaks are not executed

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

Xu Cang updated HBASE-21929:
----------------------------
    Attachment: HBASE-21929.master.001.patch
        Status: Patch Available  (was: Open)

Tested, the assertion in the for loop ran.

> The checks at the end of TestRpcClientLeaks are not executed
> ------------------------------------------------------------
>
>                 Key: HBASE-21929
>                 URL: https://issues.apache.org/jira/browse/HBASE-21929
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: Duo Zhang
>            Assignee: Xu Cang
>            Priority: Major
>         Attachments: HBASE-21929.master.001.patch
>
>
> The UT is not implemented correctly, when executing table.get we will throw exception out, and the checks below will not be executed, we should catch the exception, instead of using @Test(expected = xxx).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)