Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrolds committed Feb 26, 2025
1 parent bd55d24 commit 2535089
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/kubernetes/e2e/features/deployer/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}).
Expand Down

0 comments on commit 2535089

Please sign in to comment.