From a379f86064d388069a2da382c97c77d5495c63f1 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Mon, 31 Oct 2016 18:08:49 -0700 Subject: [PATCH] Check that advertise without ports works in test --- command/agent/agent_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/agent_test.go b/command/agent/agent_test.go index d0c83b2b9..53420aa93 100644 --- a/command/agent/agent_test.go +++ b/command/agent/agent_test.go @@ -155,7 +155,7 @@ func TestAgent_ServerConfig(t *testing.T) { conf.Addresses.RPC = "127.0.0.2" conf.Addresses.Serf = "127.0.0.2" conf.Addresses.HTTP = "127.0.0.2" - conf.AdvertiseAddrs.HTTP = "10.0.0.10:4646" + conf.AdvertiseAddrs.HTTP = "10.0.0.10" conf.AdvertiseAddrs.RPC = "" conf.AdvertiseAddrs.Serf = "10.0.0.12:4004"