Merge pull request #100418 from swetharepakula/eps-conformance

Promote EndpointSlice API test to Conformance
This commit is contained in:
Kubernetes Prow Robot 2021-03-22 13:27:35 -07:00 committed by GitHub
commit 1a983bb958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View File

@ -1213,6 +1213,16 @@
named "kubernetes" in the default namespace. named "kubernetes" in the default namespace.
release: v1.21 release: v1.21
file: test/e2e/network/endpointslice.go file: test/e2e/network/endpointslice.go
- testname: EndpointSlice API
codename: '[sig-network] EndpointSlice should support creating EndpointSlice API
operations [Conformance]'
description: The discovery.k8s.io API group MUST exist in the /apis discovery document.
The discovery.k8s.io/v1 API group/version MUST exist in the /apis/discovery.k8s.io
discovery document. The endpointslices resource MUST exist in the /apis/discovery.k8s.io/v1
discovery document. The endpointslices resource must support create, get, list,
watch, update, patch, delete, and deletecollection.
release: v1.21
file: test/e2e/network/endpointslice.go
- testname: EndpointSlice Mirroring - testname: EndpointSlice Mirroring
codename: '[sig-network] EndpointSliceMirroring should mirror a custom Endpoints codename: '[sig-network] EndpointSliceMirroring should mirror a custom Endpoints
resource through create update and delete [Conformance]' resource through create update and delete [Conformance]'

View File

@ -332,7 +332,15 @@ var _ = common.SIGDescribe("EndpointSlice", func() {
expectEndpointsAndSlices(cs, f.Namespace.Name, svc2, []*v1.Pod{pod1, pod2}, 2, 2, true) expectEndpointsAndSlices(cs, f.Namespace.Name, svc2, []*v1.Pod{pod1, pod2}, 2, 2, true)
}) })
ginkgo.It("should support creating EndpointSlice API operations", func() { /*
Release: v1.21
Testname: EndpointSlice API
Description: The discovery.k8s.io API group MUST exist in the /apis discovery document.
The discovery.k8s.io/v1 API group/version MUST exist in the /apis/discovery.k8s.io discovery document.
The endpointslices resource MUST exist in the /apis/discovery.k8s.io/v1 discovery document.
The endpointslices resource must support create, get, list, watch, update, patch, delete, and deletecollection.
*/
framework.ConformanceIt("should support creating EndpointSlice API operations", func() {
// Setup // Setup
ns := f.Namespace.Name ns := f.Namespace.Name
epsVersion := "v1" epsVersion := "v1"