[ 
https://issues.apache.org/jira/browse/HDFS-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033205#comment-13033205
 ] 

Todd Lipcon commented on HDFS-1933:
-----------------------------------

In the tests, why do we need the try..catch around all of the invocations? It 
seems to me that we don't expect anything to be thrown, so we should just let 
the exception out so it will fail the test if thrown.

> Update tests for FsShell's "test"
> ---------------------------------
>
>                 Key: HDFS-1933
>                 URL: https://issues.apache.org/jira/browse/HDFS-1933
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-1933.patch
>
>
> Fix tests broken by refactoring.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to