mirror of https://github.com/hashicorp/consul
test: Turns down server health interval for faster convergence.
This fixes the autopilot tests.pull/3011/head
parent
21a82a0a16
commit
0daacfe5e5
|
@ -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