integration: set InitialElectionTickAdvance to true by default
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>release-3.1
parent
0c0bf3f1a5
commit
4e63906c33
|
@ -505,6 +505,7 @@ func mustNewMember(t *testing.T, mcfg memberConfig) *member {
|
|||
m.ServerConfig.PeerTLSInfo = *m.PeerTLSInfo
|
||||
}
|
||||
m.ElectionTicks = electionTicks
|
||||
m.InitialElectionTickAdvance = true
|
||||
m.TickMs = uint(tickDuration / time.Millisecond)
|
||||
m.QuotaBackendBytes = mcfg.quotaBackendBytes
|
||||
return m
|
||||
|
|
Loading…
Reference in New Issue