hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Shulman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6952) Clean up some of the Client tests for exceptions.
Date Thu, 04 Oct 2012 21:49:47 GMT

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

Aleksandr Shulman commented on HBASE-6952:

An example of the above might be something like this:

try {

//fail should be here!

} catch (Exception e) {
   //logic for handling expected exception

If there is no fail there, then the code has not done something that the test expected it
to do. Hence it should fail.
> Clean up some of the Client tests for exceptions.
> -------------------------------------------------
>                 Key: HBASE-6952
>                 URL: https://issues.apache.org/jira/browse/HBASE-6952
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client, test
>            Reporter: Elliott Clark
>            Assignee: Aleksandr Shulman

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message