TestExternalStoragePolicySatisfier

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total4,233 of 4,2330%68 of 680%1001007177176666
testSPSShouldNotLeakXattrIfSatisfyStoragePolicyCallOnECFiles()2840%40%33323211
testMoveBlocksWithUnderReplicatedBlocks()2150%100%66303011
testChooseInSameDatanodeWithONESSDShouldNotChooseIfNoSpace()1860%60%44313111
createDirectoryTree(DistributedFileSystem)1850%n/a11232311
initSecureConf(Configuration)1810%20%22444411
testSPSWhenFileHasLowRedundancyBlocks()1650%n/a11252511
testSPSWhenFileHasExcessRedundancyBlocks()1400%n/a11191911
testWhenOnlyFewSourceNodesHaveMatchingTargetNodes()1350%n/a11141411
createFileAndSimulateFavoredNodes(int)1350%120%77242411
testMoveWithBlockPinning()1240%n/a11161611
testSPSWhenReplicaWithExpectedStorageAlreadyAvailableInSource()1240%n/a11131311
testSPSSatisfyAndThenDeleteFileBeforeStartSPS()1230%n/a11181811
testMultipleFilesForSatisfyStoragePolicy()1170%60%44212111
testSatisfyDirWithHdfsAdmin()1160%n/a11222211
testBlockMoveInSameAndRemoteDatanodesWithWARM()1140%n/a11121211
testSatisfyWithExceptions()1070%n/a11272711
testMultipleLevelDirectoryForSatisfyStoragePolicy()1050%20%22131311
testBlockMoveInSameDatanodeWithONESSD()1000%n/a11121211
testSatisfyFileWithHdfsAdmin()910%n/a11111111
testWhenStoragePolicySetToALLNVDIMM()830%n/a119911
testWhenStoragePolicySetToALLSSD()830%n/a119911
doTestWhenStoragePolicySetToCOLD()790%n/a117711
startCluster(Configuration, StorageType[][], int, int, long, boolean, boolean)770%60%44151511
testExternalSPSMetricsExposedToJMX()730%n/a11171711
testOutstandingQueueLimitExceeds()690%20%22212111
testSPSWithDirectoryTreeWithoutFile()690%n/a11131311
testBlksStorageMovementAttemptFinishedReport()680%n/a11111111
testWhenOnlyFewTargetDatanodeAreAvailableToSatisfyStoragePolicy()680%n/a11111111
testSPSWhenFileLengthIsZero()660%20%22171711
getDFSListOfTree()660%n/a11171711
testWhenNoTargetDatanodeToSatisfyStoragePolicy()650%n/a11111111
testWhenStoragePolicySetToONESSD()640%n/a11101011
TestExternalStoragePolicySatisfier()610%n/a116611
startAdditionalDNs(Configuration, int, int, StorageType[][], int, long, MiniDFSCluster)480%40%338811
testSPSForEmptyDirectory()400%n/a11101011
restartNamenode()380%20%229911
testSPSForNonExistDirectory()330%n/a11101011
startExternalSps()260%n/a115511
createCluster(boolean)250%n/a115511
createClusterDoNotStartSPS()250%n/a115511
testWithKeytabs()240%n/a118811
setUp()230%n/a117711
createCluster()230%n/a115511
testWhenMoverExitsWithoutDeleteMoverIDFile()220%n/a117711
writeContent(String, short)220%20%225511
testExternalSPSMetrics()190%n/a115511
destroy()170%40%336611
testInfiniteStartWhenAnotherSPSRunning()140%n/a116611
startCluster(Configuration, StorageType[][], int, int, long)100%n/a111111
testWhenStoragePolicySetToCOLDWithException()100%n/a115511
waitForAttemptedItems(long, int)100%n/a112211
waitForBlocksMovementAttemptReport(long, int)100%n/a112211
getFS()80%n/a112211
shutdownCluster()70%20%223311
stopExternalSps()70%20%223311
testWhenStoragePolicySetToCOLD()70%n/a114411
writeContent(String)50%n/a112211
setCluster(MiniDFSCluster)40%n/a112211
lambda$testInfiniteStartWhenAnotherSPSRunning$0()40%n/a111111
static {...}40%n/a112211
getConf()30%n/a111111
getCluster()30%n/a111111
testBatchProcessingForSPSDirectory()0%n/a111111
testWhenMoverIsAlreadyRunningBeforeStoragePolicySatisfier()0%n/a111111
testTraverseWhenParentDeleted()0%n/a111111
testTraverseWhenRootParentDeleted()0%n/a111111