- assertEquals("Commit index", 5, raftState.getCommitIndex());
- assertEquals("Last applied index", 5, raftState.getLastApplied());
+ assertEquals("Commit index", 4, raftState.getCommitIndex());
+ assertEquals("Last applied index", 4, raftState.getLastApplied());