From 2535089a06fd3933f70086daff45cb1b1d3a4340 Mon Sep 17 00:00:00 2001 From: Ryan Old Date: Wed, 26 Feb 2025 13:01:44 -0800 Subject: [PATCH] Fixing test --- test/kubernetes/e2e/features/deployer/suite.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/kubernetes/e2e/features/deployer/suite.go b/test/kubernetes/e2e/features/deployer/suite.go index 0a3744ef81c..4e8b055f5c4 100644 --- a/test/kubernetes/e2e/features/deployer/suite.go +++ b/test/kubernetes/e2e/features/deployer/suite.go @@ -176,7 +176,11 @@ func xdsClusterAssertion(testInstallation *e2e.TestInstallation) func(ctx contex Namespace: testInstallation.Metadata.InstallNamespace, })), "xds socket address points to gloo service, in installation namespace") - xdsPort, err := setup.GetNamespacedControlPlaneXdsPort(ctx, testInstallation.Metadata.InstallNamespace, testInstallation.ResourceClients.ServiceClient()) + service, err := setup.GetControlPlaneService(ctx, testInstallation.ResourceClients.ServiceClient()) + g.Expect(err).NotTo(gomega.HaveOccurred()) + g.Expect(service).NotTo(gomega.BeNil()) + + xdsPort, err := setup.GetControlPlaneXdsPort(service) g.Expect(err).NotTo(gomega.HaveOccurred()) g.Expect(xdsSocketAddress.GetPortValue()).To(gomega.Equal(uint32(xdsPort)), "xds socket port points to gloo service, in installation namespace") }).