Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-889

DFS unit tests have duplicate code

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.1
    • Fix Version/s: 0.12.0
    • Component/s: test
    • Labels:
      None

      Description

      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.

        Attachments

        1. dfs-tests.patch
          25 kB
          Milind Barve

          Activity

            People

            • Assignee:
              milindb Milind Barve
              Reporter:
              cutting Doug Cutting
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: