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

DFS unit tests have duplicate code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10.1
    • 0.12.0
    • test
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: