diff --git a/raft/node_test.go b/raft/node_test.go index 95bd4304e..7a511d1b8 100644 --- a/raft/node_test.go +++ b/raft/node_test.go @@ -52,7 +52,7 @@ func TestNodeRestart(t *testing.T) { want := Ready{ State: st, - // commit upto index 1 + // commit upto index commit index in st CommittedEntries: entries[:st.Commit], }