From 7ba99a604dd0f32bd65a9a23f8d9c72e9e553cb7 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Fri, 16 Mar 2018 16:52:37 -0700 Subject: [PATCH] enable server in test --- 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 a88dd2b61..7c2e163f0 100644 --- a/command/agent/agent_test.go +++ b/command/agent/agent_test.go @@ -36,6 +36,7 @@ func TestAgent_ServerConfig(t *testing.T) { t.Parallel() conf := DefaultConfig() conf.DevMode = true // allow localhost for advertise addrs + conf.Server.Enabled = true a := &Agent{config: conf} conf.AdvertiseAddrs.Serf = "127.0.0.1:4000"