raft: fix typo in test

This commit is contained in:
Zhao Haiyuan
2018-08-22 16:33:00 +08:00
committed by zhaohaiyuan
parent 2921ab670f
commit 6ee880eb5b

View File

@@ -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)