wal/wal.go : improved coverage by testing WAL.Save which causes a WAL.cut to happen
This commit is contained in:
@ -563,7 +563,6 @@ func (w *WAL) Save(st raftpb.HardState, ents []raftpb.Entry) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// TODO: add a test for this code path when refactoring the tests
|
||||
return w.cut()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user