Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4007

Rehabilitate bit-rotted unit tests under hadoop-hdfs-project/hadoop-hdfs/src/test/unit/

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3-alpha
    • Component/s: test
    • Labels:
      None

      Description

      There are a bunch of unit tests under hadoop-hdfs-project/hadoop-hdfs/src/test/unit/ that did not get Mavenized, and have bit-rotted over time.

      It looks like TestDataDirs and TestINodeFile should get compiled again as part of the build. There is already another copy of TestGetImageServlet in the source tree, so that should get deleted. Similarly TestNNLeaseRecovery has bit-rotted too much, and should be deleted-- given that we already have some other lease recovery tests.

        Attachments

        1. HDFS-4007.001.patch
          43 kB
          Colin McCabe

          Issue Links

            Activity

              People

              • Assignee:
                cmccabe Colin McCabe
                Reporter:
                cmccabe Colin McCabe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: