[
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 {
do_something_that_we_expect_to_throw_an_exception()
//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