testNonleaderElectionTimeoutRandomized 单测疑问
Opened this issue · 2 comments
lygn128 commented
Connor1996 commented
PTAL @NingLin-P
NingLin-P commented
The test assumes that becomeCandidate
won't send VoteRequest
message immediately. Instead, when r.tick()
trigger new election then implementation should call becomeCandidate
and sending VoteRequest
message.