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

Remove redundant TestMiniDFSCluster.testDualClusters

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.6.0
    • 2.8.0, 3.0.0-alpha1
    • test
    • Reviewed
    • Remove redundent TestMiniDFSCluster.testDualClusters to save time.

    Description

      Unit test TestMiniDFSCluster.testDualClusters is redundant because testClusterWithoutSystemProperties already proves cluster.getDataDirectory() == getProp(HDFS_MINIDFS_BASEDIR) + "/data". This unit test sets HDFS_MINIDFS_BASEDIR to 2 different values and brings up 2 clusters, of course they will have different data directory.

      Remove it to save the time to bring up 2 mini clusters.

      Attachments

        1. HDFS-10375.002.patch
          2 kB
          Jiayi Zhou
        2. HDFS-10375.003.patch
          2 kB
          Jiayi Zhou
        3. HDFS-10375.004.patch
          3 kB
          Jiayi Zhou

        Activity

          People

            clouderajiayi Jiayi Zhou
            jzhuge John Zhuge
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: