mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #100418 from swetharepakula/eps-conformance
Promote EndpointSlice API test to Conformance
This commit is contained in:
commit
1a983bb958
10
test/conformance/testdata/conformance.yaml
vendored
10
test/conformance/testdata/conformance.yaml
vendored
@ -1213,6 +1213,16 @@
|
||||
named "kubernetes" in the default namespace.
|
||||
release: v1.21
|
||||
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
|
||||
codename: '[sig-network] EndpointSliceMirroring should mirror a custom Endpoints
|
||||
resource through create update and delete [Conformance]'
|
||||
|
@ -332,7 +332,15 @@ var _ = common.SIGDescribe("EndpointSlice", func() {
|
||||
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
|
||||
ns := f.Namespace.Name
|
||||
epsVersion := "v1"
|
||||
|
Loading…
Reference in New Issue
Block a user