[
https://issues.apache.org/jira/browse/HDFS-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011495#comment-13011495
]
Uma Maheswara Rao G commented on HDFS-1786:
-------------------------------------------
Since we are giving the message dinamically by appending the path, it is
difficult to assert. I am not familiar with thi TestHDFSCLI framework.
Expected output: [get: hdfs:*///*user/file: No such file or directory]
Actual output: [get: hdfs:/user/file: No such file or directory
................
One question here: can i use * (regex) for matching the path in
testHDFSConf.xml file?
for example:
copyToLocal: *: No such file or directory....will it work with this
framework?
> Some cli test cases expect a "null" message
> -------------------------------------------
>
> Key: HDFS-1786
> URL: https://issues.apache.org/jira/browse/HDFS-1786
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Uma Maheswara Rao G
> Priority: Minor
> Attachments: HDFS-1786.patch
>
>
> There are a few tests cases specified in {{TestHDFSCLI}} and {{TestDFSShell}}
> expecting "null" messages.
> e.g. in {{testHDFSConf.xml}},
> {code}
> <expected-output>get: null</expected-output>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira