Zhao Haiyuan 7 лет назад
Родитель
Сommit
6ee880eb5b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      raft/raft_paper_test.go

+ 1 - 1
raft/raft_paper_test.go

@@ -333,7 +333,7 @@ func testNonleaderElectionTimeoutRandomized(t *testing.T, state StateType) {
 	}
 }
 
-func TestFollowersElectioinTimeoutNonconflict(t *testing.T) {
+func TestFollowersElectionTimeoutNonconflict(t *testing.T) {
 	SetLogger(discardLogger)
 	defer SetLogger(defaultLogger)
 	testNonleadersElectionTimeoutNonconflict(t, StateFollower)