test: Turns down server health interval for faster convergence.

This fixes the autopilot tests.
This commit is contained in:
James Phillips 2017-05-04 15:04:30 -07:00 committed by Frank Schroeder
parent 9435cadeee
commit 2e512d6e6d
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ func nextConfig() *Config {
cons.RaftConfig.ElectionTimeout = 40 * time.Millisecond cons.RaftConfig.ElectionTimeout = 40 * time.Millisecond
cons.CoordinateUpdatePeriod = 100 * time.Millisecond cons.CoordinateUpdatePeriod = 100 * time.Millisecond
cons.ServerHealthInterval = 10 * time.Millisecond
return conf return conf
} }