TestFSImage

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,783 of 2,7830%80 of 800%72727267263232
testSupportBlockGroup()3040%20%22767611
testSaveAndLoadStripedINodeFile(FSNamesystem, Configuration, boolean)2230%120%77535311
testUpdateBlocksMapAndNameCacheAsync()2030%100%66434311
testSaveAndLoadFileUnderReplicationPolicyDir()1980%20%22545411
testChangeErasureCodingPolicyState(MiniDFSCluster, int, ErasureCodingPolicy, boolean)1820%20%22585811
testHasNonEcBlockUsingStripedIDForLoadFile()1510%20%22424211
testSaveAndLoadErasureCodingPolicies()1510%n/a11424211
testLoadMtimeAtime()1430%20%22333311
testHasNonEcBlockUsingStripedIDForLoadSnapshot()1390%20%22383811
createAndLoadParallelFSImage(Configuration)1380%80%55282811
testPersistHelper(Configuration)1230%20%22333311
testHasNonEcBlockUsingStripedIDForLoadUCFile()1220%20%22333311
testZeroBlockSize()1110%40%33242411
testRemovalStaleFsimageCkpt()790%40%33232311
testParallelSaveAndLoadWithCompression()740%20%22242411
testParallelSaveAndLoad()660%20%22222211
ensureSubSectionsAlignWithParent(ArrayList, FsImageProto.FileSummary.Section)580%20%229911
testDigest()480%20%22151511
testCtime()450%60%44121211
isPolicyEnabledInFsImage(ErasureCodingPolicy)340%40%335511
testImportCheckpoint()320%n/a118811
testSaveAndLoadStripedINodeFile()280%20%229911
testSaveAndLoadStripedINodeFileUC()280%20%229911
getSubSectionsOfName(ArrayList, FSImageFormatProtobuf.SectionName)270%40%336611
testCompression()210%n/a116611
testNativeCompression()150%n/a115511
testBlockTypeProtoDefaultsToContiguous()130%n/a116611
testPersist()80%n/a113311
setCompressCodec(Configuration, String)80%n/a113311
lambda$testImportCheckpoint$0(FSImage, FSNamesystem)40%n/a111111
static {...}40%n/a112211
TestFSImage()30%n/a111111