Promote two more EndpointSlice tests to conformance

Specifically, these ensure that the service proxy works with
a service that has only EndpointSlices (no Endpoints).
This commit is contained in:
Dan Winship
2025-05-29 09:50:15 -04:00
parent 3e5849972e
commit 5420dcec55
2 changed files with 32 additions and 2 deletions

View File

@@ -1727,6 +1727,22 @@
MUST have Endpoints and EndpointSlices pointing to each API server instance.
release: v1.21
file: test/e2e/network/endpointslice.go
- testname: EndpointSlice, multiple IPs, multiple ports
codename: '[sig-network] EndpointSlice should support a Service with multiple endpoint
IPs specified in multiple EndpointSlices [Conformance]'
description: Given a selector-less Service with multiple manually-created EndpointSlices
(and no Endpoints) where the endpoints have different IPs and different Ports,
the service proxy MUST allow connections to both ports.
release: v1.34
file: test/e2e/network/endpointslice.go
- testname: EndpointSlice, single IP, multiple ports
codename: '[sig-network] EndpointSlice should support a Service with multiple ports
specified in multiple EndpointSlices [Conformance]'
description: Given a selector-less Service with multiple manually-created EndpointSlices
(and no Endpoints) where the endpoints have the same IP but different Ports, the
service proxy MUST allow connections to both ports.
release: v1.34
file: test/e2e/network/endpointslice.go
- testname: EndpointSlice API
codename: '[sig-network] EndpointSlice should support creating EndpointSlice API
operations [Conformance]'

View File

@@ -528,7 +528,14 @@ var _ = common.SIGDescribe("EndpointSlice", func() {
gomega.Expect(epsList.Items).To(gomega.BeEmpty(), "filtered list should have 0 items")
})
ginkgo.It("should support a Service with multiple ports specified in multiple EndpointSlices", func(ctx context.Context) {
/*
Release: v1.34
Testname: EndpointSlice, single IP, multiple ports
Description: Given a selector-less Service with multiple manually-created
EndpointSlices (and no Endpoints) where the endpoints have the same IP
but different Ports, the service proxy MUST allow connections to both ports.
*/
framework.ConformanceIt("should support a Service with multiple ports specified in multiple EndpointSlices", func(ctx context.Context) {
ns := f.Namespace.Name
svc := createServiceReportErr(ctx, cs, f.Namespace.Name, &v1.Service{
ObjectMeta: metav1.ObjectMeta{
@@ -631,7 +638,14 @@ var _ = common.SIGDescribe("EndpointSlice", func() {
})
ginkgo.It("should support a Service with multiple endpoint IPs specified in multiple EndpointSlices", func(ctx context.Context) {
/*
Release: v1.34
Testname: EndpointSlice, multiple IPs, multiple ports
Description: Given a selector-less Service with multiple manually-created
EndpointSlices (and no Endpoints) where the endpoints have different IPs
and different Ports, the service proxy MUST allow connections to both ports.
*/
framework.ConformanceIt("should support a Service with multiple endpoint IPs specified in multiple EndpointSlices", func(ctx context.Context) {
ns := f.Namespace.Name
svc := createServiceReportErr(ctx, cs, f.Namespace.Name, &v1.Service{
ObjectMeta: metav1.ObjectMeta{