test: Turns down server health interval for faster convergence.
This fixes the autopilot tests.
This commit is contained in:
parent
9435cadeee
commit
2e512d6e6d
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue