Browse Source

Merge pull request #10031 from zhaohaidao/master

raft: fix typo in test
Sam Batschelet 7 years ago
parent
commit
bdc333359b
1 changed files with 1 additions and 1 deletions
  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)