TestDFSAdmin

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,744 of 3,7440%68 of 680%73737477473939
testReportCommand()4920%60%4410110111
testListOpenFiles()4100%140%88737311
testDecommissionDataNodesReconfig()2970%80%55575711
testDataNodeGetReconfigurationStatus(boolean)2280%80%55464611
testAllDatanodesReconfig()2080%n/a11363611
testAllowSnapshotWhenTrashExists()1990%n/a11323211
testAllowDisallowSnapshot()1560%n/a11292911
testPrintTopologyWithStatus()1450%n/a11313111
testPrintTopology()1350%n/a11292911
verifyNodesAndCorruptBlocks(int, int, int, int, DFSClient, Long, Long)1260%n/a11333311
testNameNodeGetReconfigurationStatus()1250%n/a11292911
testSetBalancerBandwidth()1150%n/a11161611
testDFSAdminUnreachableDatanode()1140%20%22141411
testRefreshProxyUser()1030%n/a11252511
testNameNodeGetReconfigurableProperties()1020%n/a11222211
testTriggerBlockReport()930%n/a11181811
testCheckNumOfBlocksInReportCommand()910%40%33181811
testGetDatanodeInfo()870%20%22191911
testGetVolumeReport()730%20%22131311
verifyOpenFilesListing(HashSet, HashMap)670%60%44131311
reconfigurationOutErrFormatter(String, String, String, List, List)630%60%44131311
setUp()400%n/a11101011
tearDown()350%40%33131311
testDataNodeGetReconfigurableProperties()340%n/a118811
restartCluster()330%20%228811
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)0%n/a111111