Procházet zdrojové kódy

raft: fix typo in test

Zhao Haiyuan před 7 roky
rodič
revize
6ee880eb5b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)