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

Bikas Saha commented on HADOOP-8453:
------------------------------------

bq.Another route may be to extend existing test for Java interface and test 
'winutils' indirectly. For example, we can add more test cases to 
TestShell.java and test 'winutils' commands from there.
I am in favor of this because it tests all the code paths that we need to 
exercise.
                
> Add unit tests for winutils
> ---------------------------
>
>                 Key: HADOOP-8453
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8453
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: test
>    Affects Versions: 1.1.0, 0.24.0
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>         Attachments: HADOOP-8453-branch-1-win-2.patch, 
> HADOOP-8453-branch-1-win.patch
>
>
> In [Hadoop-8235|https://issues.apache.org/jira/browse/HADOOP-8235], we 
> created a Windows console program, named ‘winutils’, to emulate some Linux 
> command line utilities used by Hadoop. However no tests are provided in the 
> original patch. As this code is quite complicated, and the complexity may 
> even grow up in the future. We think unit tests are necessary to ensure code 
> quality, as well as smooth future development.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to