From 2e512d6e6df168be0ed95b39630db432a6729811 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Thu, 4 May 2017 15:04:30 -0700 Subject: [PATCH] test: Turns down server health interval for faster convergence. This fixes the autopilot tests. --- command/agent/agent_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/agent/agent_test.go b/command/agent/agent_test.go index d8b8f2125..81a57684e 100644 --- a/command/agent/agent_test.go +++ b/command/agent/agent_test.go @@ -90,6 +90,7 @@ func nextConfig() *Config { cons.RaftConfig.ElectionTimeout = 40 * time.Millisecond cons.CoordinateUpdatePeriod = 100 * time.Millisecond + cons.ServerHealthInterval = 10 * time.Millisecond return conf }