TestEditLog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,081 of 3,0810%138 of 1380%1131137947944444
testEditLog(int)2080%140%88494911
testCrashRecovery(int)2010%80%55595911
testMultiStreamsLoadEditWithConfMaxTxns()1880%120%77545411
testReadActivelyUpdatedLog()1800%120%77454511
testEditLogWithoutErasureCodingSupported()1700%60%44454511
testAlternatingJournalFailure()1690%20%22222211
testResetThreadLocalCachedOps()1480%20%22333311
testEditLogManifestMocks()1390%n/a11313111
testEditChecksum()1380%40%33363611
setupEdits(List, int, boolean, TestEditLog.AbortSpec[])1370%140%88343411
testManyEditLogSegments()1320%80%55323211
mockStorageWithEdits(String[])1270%60%44242411
doTestCrashRecoveryEmptyLog(boolean, boolean, boolean)1230%100%66353511
testEditLogFailOverFromCorrupt()1200%n/a11282811
testSyncBatching()960%60%44292911
testEditLogFailOverFromMissing()840%n/a11212111
testSimpleEditLog()740%40%33242411
testBatchedSyncWithClosedLogs()720%60%44232311
validateNoCrash(byte[])680%80%55252511
testAutoSync()670%40%33151511
testLoadingWithGaps()620%n/a11171711
readAllEdits(Collection, long)480%60%44141411
testPreTxidEditLogWithEdits()450%20%22131311
testFailedOpen()350%n/a11131311
assertExistsInStorageDirs(MiniDFSCluster, NNStorage.NameNodeDirType, String)320%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