From 08bdcaeee2ef33e2bbf3b90a1e5e98649cd75128 Mon Sep 17 00:00:00 2001 From: Kevin Schoonover Date: Sun, 28 Nov 2021 18:13:03 -0700 Subject: [PATCH] fix tests --- 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 9fb04e62652..f61e47c049c 100644 --- a/command/agent/agent_test.go +++ b/command/agent/agent_test.go @@ -166,7 +166,7 @@ func TestAgent_ServerConfig(t *testing.T) { require.Equal(t, "127.0.0.3", conf.Addresses.HTTP) require.Equal(t, "127.0.0.3", conf.Addresses.RPC) require.Equal(t, "127.0.0.3", conf.Addresses.Serf) - require.Equal(t, "127.0.0.3:4646", conf.normalizedAddrs.HTTP) + require.Equal(t, []string{"127.0.0.3:4646"}, conf.normalizedAddrs.HTTP) require.Equal(t, "127.0.0.3:4647", conf.normalizedAddrs.RPC) require.Equal(t, "127.0.0.3:4648", conf.normalizedAddrs.Serf)