From cf9ccf5a8e258df60a767153b37586aea6861854 Mon Sep 17 00:00:00 2001 From: Andrew Sy Kim Date: Thu, 29 Apr 2021 16:17:35 -0400 Subject: [PATCH] proxier/ipvs: unit tests should specify Service ports Signed-off-by: Andrew Sy Kim --- pkg/proxy/ipvs/proxier_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/proxy/ipvs/proxier_test.go b/pkg/proxy/ipvs/proxier_test.go index 52eda4440d1..eac1051d53e 100644 --- a/pkg/proxy/ipvs/proxier_test.go +++ b/pkg/proxy/ipvs/proxier_test.go @@ -4684,6 +4684,7 @@ func Test_EndpointSliceReadyAndTerminatingLocal(t *testing.T) { Ports: []v1.ServicePort{ { Name: "", + Port: 80, TargetPort: intstr.FromInt(80), Protocol: v1.ProtocolTCP, }, @@ -4857,6 +4858,7 @@ func Test_EndpointSliceOnlyReadyAndTerminatingLocal(t *testing.T) { Ports: []v1.ServicePort{ { Name: "", + Port: 80, TargetPort: intstr.FromInt(80), Protocol: v1.ProtocolTCP, },