TestDataNodeHotSwapVolumes

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,565 of 2,5650%80 of 800%79795935933939
testRemoveVolumeBeingWrittenForDatanode(int)2970%140%88797911
testAddVolumeFailures()2090%100%66414111
testReAddVolumeWithBlocks()1930%40%33424211
addVolumes(int, CountDownLatch)1800%80%55444411
testAddVolumesConcurrently()1700%20%22373711
testAddVolumesDuringWrite()1460%20%22272711
testParseChangedVolumes()1390%20%22252511
testDirectlyReloadAfterCheckDiskError()1240%80%55242411
testAddBackRemovedVolume()1100%40%33232311
testRemoveOneVolume()1060%n/a11282811
testAddVolumesToFederationNN()1030%n/a11191911
testReplicatingAfterRemoveVolume()990%40%33272711
testAddOneNewVolume()870%40%33191911
testAddVolumeWithVolumeOnSameMount()800%n/a11202011
testFullBlockReportAfterRemovingVolumes()790%n/a11202011
testParseStorageTypeChanges()540%n/a11131311
getNumBlocksReport(int)540%40%33121211
waitReplication(FileSystem, Path, int, int)510%40%33111111
setConfiguration(Configuration)350%n/a119911
startDFSCluster(int, int, int)300%n/a11111111
lambda$testRemoveVolumeBeingWrittenForDatanode$1(CyclicBarrier, CyclicBarrier, DataNode, String, AtomicBoolean, List)300%n/a11101011
testParseChangedVolumesFailures()230%n/a118811
createFile(int, Path, int, short)210%n/a115511
getNumReplicas(FileSystem, Path, int)200%20%222211
assertFileLocksReleased(Collection)200%20%227711
verifyFileLength(FileSystem, Path, int)120%n/a113311
testRemoveVolumeBeingWritten()110%20%223311
shutdown()100%20%224411
lambda$testRemoveVolumeBeingWrittenForDatanode$0(FsVolumeImpl, String)100%20%221111
createFile(int, Path, int)90%n/a113311
createFile(Path, int)80%n/a113311
getDataDirs(DataNode)80%n/a111111
addVolumes(int)80%n/a112211
createFile(Path, int, short)70%n/a112211
startDFSCluster(int, int)60%n/a112211
triggerDeleteReport(DataNode)60%n/a113311
static {...}40%n/a111111
TestDataNodeHotSwapVolumes()30%n/a111111
tearDown()30%n/a112211