From 0daacfe5e5973adf637e4e022b48f68a109ccb2a 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 d8b8f2125e..81a57684ee 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 }