TestDFSAdmin

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,734 of 3,7340%68 of 680%73737397393939
testReportCommand()4540%60%44999911
testListOpenFiles()3840%140%88737311
testDecommissionDataNodesReconfig()2820%80%55575711
testDataNodeGetReconfigurationStatus(boolean)2660%80%55464611
testAllDatanodesReconfig()2080%n/a11363611
testAllowSnapshotWhenTrashExists()1910%n/a11323211
testPrintTopology()1720%n/a11282811
testAllowDisallowSnapshot()1520%n/a11292911
testNameNodeGetReconfigurationStatus()1500%n/a11272711
verifyNodesAndCorruptBlocks(int, int, int, int, DFSClient, Long, Long)1480%n/a11333311
testPrintTopologyWithStatus()1430%n/a11313111
testSetBalancerBandwidth()1100%n/a11161611
testGetDatanodeInfo()1010%20%22181811
testTriggerBlockReport()1010%n/a11181811
testNameNodeGetReconfigurableProperties()1000%n/a11222211
testRefreshProxyUser()940%n/a11252511
testDFSAdminUnreachableDatanode()880%20%22131311
testCheckNumOfBlocksInReportCommand()860%40%33181811
testGetVolumeReport()720%20%22131311
reconfigurationOutErrFormatter(String, String, String, List, List)630%60%44131311
verifyOpenFilesListing(HashSet, HashMap)610%60%44121211
setUp()400%n/a11101011
tearDown()350%40%33131311
restartCluster()330%20%228811
testDataNodeGetReconfigurableProperties()270%n/a118811
waitForReconfigurationDecommissionNode(String, String, DFSAdmin, List, List)270%n/a114411
scanIntoString(ByteArrayOutputStream)240%20%226611
TestDFSAdmin()190%n/a115511
scanIntoList(ByteArrayOutputStream, List)180%20%225511
redirectStream()130%n/a113311
awaitReconfigurationFinished(String, String, List, List)120%n/a112211
waitForCorruptBlock(MiniDFSCluster, DFSClient, Path)110%n/a112211
testDataNodeGetReconfigurationStatus()90%n/a114411
getReconfigurableProperties(String, String, List, List)80%n/a112211
getReconfigurationStatus(String, String, List, List)80%n/a112211
static {...}80%n/a113311
resetStream()70%n/a113311
lambda$testAllDatanodesReconfig$0(String)50%n/a111111
lambda$testDecommissionDataNodesReconfig$1(ReconfigurationUtil, DataNode)40%n/a111111