diff --git a/api/operator_autopilot_test.go b/api/operator_autopilot_test.go index 023de9923..fe2176a48 100644 --- a/api/operator_autopilot_test.go +++ b/api/operator_autopilot_test.go @@ -76,7 +76,6 @@ func TestAPI_OperatorAutopilotCASConfiguration(t *testing.T) { func TestAPI_OperatorAutopilotServerHealth(t *testing.T) { t.Parallel() c, s := makeClient(t, nil, func(c *testutil.TestServerConfig) { - c.AdvertiseAddrs.RPC = "127.0.0.1" c.Server.RaftProtocol = 3 }) defer s.Stop() diff --git a/testutil/server.go b/testutil/server.go index 80573e8a6..0be3bd54f 100644 --- a/testutil/server.go +++ b/testutil/server.go @@ -92,12 +92,6 @@ func defaultServerConfig(t testing.T) *TestServerConfig { NodeName: fmt.Sprintf("node-%d", ports[0]), DisableCheckpoint: true, LogLevel: "DEBUG", - // Advertise can't be localhost - AdvertiseAddrs: &Advertise{ - HTTP: "169.254.42.42", - RPC: "169.254.42.42", - Serf: "169.254.42.42", - }, Ports: &PortsConfig{ HTTP: ports[0], RPC: ports[1],