integration: set InitialElectionTickAdvance to true by default

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
release-3.1
Gyuho Lee 2018-04-19 14:01:23 -07:00
parent 0c0bf3f1a5
commit 4e63906c33
1 changed files with 1 additions and 0 deletions

View File

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