hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esteban Gutierrez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-16774) [shell] Add coverage to TestShell when ZooKeeper is not reachable
Date Thu, 06 Oct 2016 22:28:20 GMT

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

Esteban Gutierrez updated HBASE-16774:
--------------------------------------
    Attachment: 0001-HBASE-16774-shell-Add-coverage-to-TestShell-when-Zoo.patch

Reduced the test to only check if no exceptions where raised by running setup_hbase.

{code}
define_test "start_hbase_shell_no_cluster" do
      assert_nothing_raised do
        setup_hbase
      end
 end
{code}

However there is a caveat to commit this test: it will fail until HBASE-16117 gets committed.
 


> [shell] Add coverage to TestShell when ZooKeeper is not reachable
> -----------------------------------------------------------------
>
>                 Key: HBASE-16774
>                 URL: https://issues.apache.org/jira/browse/HBASE-16774
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell, test
>            Reporter: Esteban Gutierrez
>            Assignee: Esteban Gutierrez
>         Attachments: 0001-HBASE-16774-shell-Add-coverage-to-TestShell-when-Zoo.patch,
0001-HBASE-16774-shell-Add-coverage-to-TestShell-when-Zoo.patch
>
>
> While testing a couple of things in master I noticed that after some of the changes done
in HBASE-16117 the hbase shell would die when there is no ZooKeeper server up or if we get
another ZK exception. This is to add coverage to test the shell when ZK is not up or if we
get another exception.



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

Mime
View raw message