From a1f6647a2cec50118afd6dbe9db9cddf89c090ea Mon Sep 17 00:00:00 2001 From: pepov Date: Sat, 28 Mar 2015 10:08:32 +0100 Subject: [PATCH] add AdvertiseAddrWan to TestMergeConfig and use different values for Addr values in b than in a --- command/agent/config_test.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/command/agent/config_test.go b/command/agent/config_test.go index 5ca94261c2..7497eec086 100644 --- a/command/agent/config_test.go +++ b/command/agent/config_test.go @@ -1070,12 +1070,13 @@ func TestMergeConfig(t *testing.T) { MaxStale: 30 * time.Second, EnableTruncate: true, }, - Domain: "other", - LogLevel: "info", - NodeName: "baz", - ClientAddr: "127.0.0.1", - BindAddr: "127.0.0.1", - AdvertiseAddr: "127.0.0.1", + Domain: "other", + LogLevel: "info", + NodeName: "baz", + ClientAddr: "127.0.0.2", + BindAddr: "127.0.0.2", + AdvertiseAddr: "127.0.0.2", + AdvertiseAddrWan: "127.0.0.2", Ports: PortConfig{ DNS: 1, HTTP: 2,