TestEditLog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,063 of 3,0630%138 of 1380%1131138038034444
testEditLog(int)2060%140%88494911
testCrashRecovery(int)1980%80%55595911
testMultiStreamsLoadEditWithConfMaxTxns()1850%120%77545411
testReadActivelyUpdatedLog()1800%120%77454511
testEditLogWithoutErasureCodingSupported()1720%60%44454511
testAlternatingJournalFailure()1660%20%22222211
testResetThreadLocalCachedOps()1480%20%22333311
testEditLogManifestMocks()1390%n/a11323211
setupEdits(List, int, boolean, TestEditLog.AbortSpec[])1390%140%88343411
testEditChecksum()1360%40%33373711
testManyEditLogSegments()1320%80%55323211
mockStorageWithEdits(String[])1270%60%44242411
doTestCrashRecoveryEmptyLog(boolean, boolean, boolean)1220%100%66353511
testEditLogFailOverFromCorrupt()1170%n/a11282811
testSyncBatching()960%60%44343411
testEditLogFailOverFromMissing()820%n/a11212111
testSimpleEditLog()740%40%33242411
testBatchedSyncWithClosedLogs()720%60%44252511
testAutoSync()670%40%33151511
validateNoCrash(byte[])670%80%55252511
testLoadingWithGaps()610%n/a11171711
readAllEdits(Collection, long)480%60%44141411
testPreTxidEditLogWithEdits()460%20%22131311
testFailedOpen()340%n/a11131311
assertExistsInStorageDirs(MiniDFSCluster, NNStorage.NameNodeDirType, String)310%20%226611
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