From 0dc1b11e42980d988807a5f43646b679395a5752 Mon Sep 17 00:00:00 2001 From: "Chris S. Kim" Date: Wed, 29 Jun 2022 16:53:22 -0400 Subject: [PATCH] Fix ENT drift in files (#13647) --- agent/consul/helper_test.go | 2 -- agent/consul/internal_endpoint_test.go | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/agent/consul/helper_test.go b/agent/consul/helper_test.go index a817880f2..957653ad2 100644 --- a/agent/consul/helper_test.go +++ b/agent/consul/helper_test.go @@ -1256,7 +1256,6 @@ func registerLocalAndRemoteServicesVIPEnabled(t *testing.T, state *state.Store) Proxy: structs.ConnectProxyConfig{ DestinationServiceName: "web", }, - LocallyRegisteredAsSidecar: true, }, PeerName: "peer-a", })) @@ -1292,7 +1291,6 @@ func registerLocalAndRemoteServicesVIPEnabled(t *testing.T, state *state.Store) Proxy: structs.ConnectProxyConfig{ DestinationServiceName: "web", }, - LocallyRegisteredAsSidecar: true, }, PeerName: "peer-b", })) diff --git a/agent/consul/internal_endpoint_test.go b/agent/consul/internal_endpoint_test.go index 3f9ff1832..7d7d421c8 100644 --- a/agent/consul/internal_endpoint_test.go +++ b/agent/consul/internal_endpoint_test.go @@ -2787,15 +2787,13 @@ func TestInternal_PeeredUpstreams(t *testing.T) { testrpc.WaitForLeader(t, s1.RPC, "dc1") - state := s1.fsm.State() - // Services // api local // web peer: peer-a // web-proxy peer: peer-a // web peer: peer-b // web-proxy peer: peer-b - registerLocalAndRemoteServicesVIPEnabled(t, state) + registerLocalAndRemoteServicesVIPEnabled(t, s1.fsm.State()) codec := rpcClient(t, s1)