diff --git a/consul/server_test.go b/consul/server_test.go index 1d26a9ffa4..9931c3ee75 100644 --- a/consul/server_test.go +++ b/consul/server_test.go @@ -50,8 +50,8 @@ func testServerDC(t *testing.T, dc string) (string, *Server) { config.SerfWANConfig.MemberlistConfig.ProbeInterval = time.Second config.SerfWANConfig.MemberlistConfig.GossipInterval = 100 * time.Millisecond - config.RaftConfig.HeartbeatTimeout = 50 * time.Millisecond - config.RaftConfig.ElectionTimeout = 50 * time.Millisecond + config.RaftConfig.HeartbeatTimeout = 40 * time.Millisecond + config.RaftConfig.ElectionTimeout = 40 * time.Millisecond server, err := NewServer(config) if err != nil {