Explorar el Código

raft: fix typo in test

Zhao Haiyuan hace 7 años
padre
commit
6ee880eb5b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)
 	SetLogger(discardLogger)
 	defer SetLogger(defaultLogger)
 	defer SetLogger(defaultLogger)
 	testNonleadersElectionTimeoutNonconflict(t, StateFollower)
 	testNonleadersElectionTimeoutNonconflict(t, StateFollower)