Details
-
Test
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
2.6.0
-
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.