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"