[
https://issues.apache.org/jira/browse/HADOOP-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473258
]
Hadoop QA commented on HADOOP-889:
----------------------------------
+1, because
http://issues.apache.org/jira/secure/attachment/12351191/dfs-tests.patch
applied and successfully tested against trunk revision r507276.
> DFS unit tests have duplicate code
> ----------------------------------
>
> Key: HADOOP-889
> URL: https://issues.apache.org/jira/browse/HADOOP-889
> Project: Hadoop
> Issue Type: Improvement
> Components: test
> Affects Versions: 0.10.1
> Reporter: Doug Cutting
> Assigned To: Milind Bhandarkar
> Priority: Minor
> Fix For: 0.12.0
>
> Attachments: dfs-tests.patch
>
>
> A number of the DFS-related unit tests have a bunch of copied code. These
> include TestRestartDFS, TestFileCorruption, TestFsck and TestCopyFiles. Even
> within each test there is a lot of duplicated code. Maintaining these as
> APIs evolve is arduous. They should instead use a common base class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.