Xiang Li 11 лет назад
Родитель
Сommit
f3348d6e13
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      raft/node_test.go

+ 1 - 1
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],
 	}