hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1933) Update tests for FsShell's "test"
Date Fri, 13 May 2011 18:51:47 GMT

    [ 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

Mime
View raw message