You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Milind Bhandarkar (JIRA)" <ji...@apache.org> on 2007/02/15 00:11:05 UTC
[jira] Updated: (HADOOP-889) DFS unit tests have duplicate code
[ https://issues.apache.org/jira/browse/HADOOP-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Milind Bhandarkar updated HADOOP-889:
-------------------------------------
Attachment: dfs-tests.patch
Attached a patch that separates common code used by various dfs tests into a separate utility class.
> 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.