From 90695aabb38994461c6b1a8795a8715ad46cfd0d Mon Sep 17 00:00:00 2001 From: Luke Kysow <1034429+lkysow@users.noreply.github.com> Date: Fri, 10 Sep 2021 11:11:47 -0700 Subject: [PATCH] Set namespace for upstreams in test --- control-plane/connect-inject/endpoints_controller_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/control-plane/connect-inject/endpoints_controller_test.go b/control-plane/connect-inject/endpoints_controller_test.go index ec3898c8f3..a3a5675394 100644 --- a/control-plane/connect-inject/endpoints_controller_test.go +++ b/control-plane/connect-inject/endpoints_controller_test.go @@ -879,9 +879,10 @@ func TestReconcileCreateEndpoint(t *testing.T) { LocalServicePort: 1234, Upstreams: []api.Upstream{ { - DestinationType: api.UpstreamDestTypeService, - DestinationName: "upstream1", - LocalBindPort: 1234, + DestinationType: api.UpstreamDestTypeService, + DestinationName: "upstream1", + DestinationNamespace: "default", + LocalBindPort: 1234, }, }, Config: map[string]interface{}{