TestEditLog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,279 of 3,2790%138 of 1380%1131138038034444
testEditLog(int)2460%140%88494911
testCrashRecovery(int)2300%80%55595911
testMultiStreamsLoadEditWithConfMaxTxns()2010%120%77545411
testAlternatingJournalFailure()1870%20%22222211
testReadActivelyUpdatedLog()1800%120%77454511
testEditLogWithoutErasureCodingSupported()1790%60%44454511
testResetThreadLocalCachedOps()1480%20%22333311
setupEdits(List, int, boolean, TestEditLog.AbortSpec[])1470%140%88343411
testEditChecksum()1450%40%33373711
testEditLogManifestMocks()1390%n/a11323211
mockStorageWithEdits(String[])1390%60%44242411
testEditLogFailOverFromCorrupt()1380%n/a11282811
testManyEditLogSegments()1380%80%55323211
doTestCrashRecoveryEmptyLog(boolean, boolean, boolean)1220%100%66353511
testSyncBatching()960%60%44343411
testEditLogFailOverFromMissing()940%n/a11212111
testSimpleEditLog()740%40%33242411
validateNoCrash(byte[])730%80%55252511
testBatchedSyncWithClosedLogs()720%60%44252511
testAutoSync()670%40%33151511
testLoadingWithGaps()670%n/a11171711
readAllEdits(Collection, long)600%60%44141411
testPreTxidEditLogWithEdits()460%20%22131311
assertExistsInStorageDirs(MiniDFSCluster, NNStorage.NameNodeDirType, String)390%20%226611
testFailedOpen()340%n/a11131311
testFuzzSequences()290%20%229911
data()240%n/a114411
static {...}230%n/a119911
testPreTxIdEditLogNoEdits()190%n/a116611
getFSEditLog(NNStorage)170%n/a116611
testLoad(byte[], FSNamesystem)140%n/a112211
doLogEdit(ExecutorService, FSEditLog, String)110%n/a113311
getConf()100%n/a113311
doCallLogSync(ExecutorService, FSEditLog)100%n/a113311
doCallLogSyncAll(ExecutorService, FSEditLog)100%n/a113311
testMultiThreadedEditLog()70%n/a113311
TestEditLog(Boolean)60%n/a113311
testCrashRecoveryEmptyLogOneDir()60%n/a112211
testCrashRecoveryEmptyLogBothDirs()60%n/a112211
testCrashRecoveryEmptyLogOneDirNoUpdateSeenTxId()60%n/a112211
testCrashRecoveryEmptyLogBothDirsNoUpdateSeenTxId()60%n/a112211
setupEdits(List, int, TestEditLog.AbortSpec[])60%n/a111111
testCrashRecoveryNoTransactions()40%n/a112211
testCrashRecoveryWithTransactions()40%n/a112211