Skip to content

Commit

Permalink
test(raft): remove unnecessary seek
Browse files Browse the repository at this point in the history
(cherry picked from commit 1362765)
  • Loading branch information
deepthidevaki committed Aug 29, 2022
1 parent 1f1ed1e commit a85f521
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,6 @@ public void assertAllLogsEqual() {
.orElse(1L)
- 1;

readers.values().forEach(r -> r.seek(-1)); // seek to first

final long commitIndexOnLeader =
raftServers.values().stream()
.map(RaftContext::getCommitIndex)
Expand Down

0 comments on commit a85f521

Please sign in to comment.