apiserver: promote flowcontrol tests to conformance

This commit is contained in:
Abu Kashem 2023-11-03 11:08:07 -04:00
parent f883370b8a
commit e5bba37f20
No known key found for this signature in database
GPG Key ID: E5ECC1124B5F9C68
2 changed files with 47 additions and 22 deletions

View File

@ -1,3 +1,25 @@
- testname: Priority and Fairness FlowSchema API
codename: '[sig-api-machinery] API priority and fairness should support FlowSchema
API operations [Conformance]'
description: ' The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis
discovery document. The flowcontrol.apiserver.k8s.io/v1 API group/version MUST
exist in the /apis/flowcontrol.apiserver.k8s.io discovery document. The flowschemas
and flowschemas/status resources MUST exist in the /apis/flowcontrol.apiserver.k8s.io/v1
discovery document. The flowschema resource must support create, get, list, watch,
update, patch, delete, and deletecollection.'
release: v1.29
file: test/e2e/apimachinery/flowcontrol.go
- testname: Priority and Fairness PriorityLevelConfiguration API
codename: '[sig-api-machinery] API priority and fairness should support PriorityLevelConfiguration
API operations [Conformance]'
description: ' The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis
discovery document. The flowcontrol.apiserver.k8s.io/v1 API group/version MUST
exist in the /apis/flowcontrol.apiserver.k8s.io discovery document. The prioritylevelconfiguration
and prioritylevelconfiguration/status resources MUST exist in the /apis/flowcontrol.apiserver.k8s.io/v1
discovery document. The prioritylevelconfiguration resource must support create,
get, list, watch, update, patch, delete, and deletecollection.'
release: v1.29
file: test/e2e/apimachinery/flowcontrol.go
- testname: Admission webhook, list mutating webhooks
codename: '[sig-api-machinery] AdmissionWebhook [Privileged:ClusterAdmin] listing
mutating webhooks should work [Conformance]'

View File

@ -255,18 +255,19 @@ var _ = SIGDescribe("API priority and fairness", func() {
})
/*
Release: v1.29
Testname: FlowSchema API
Description:
The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis discovery document.
The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
in the /apis/flowcontrol.apiserver.k8s.io discovery document.
The flowschemas and flowschemas/status resources MUST exist
in the /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
The flowschema resource must support create, get, list, watch,
update, patch, delete, and deletecollection.
Release: v1.29
Testname: Priority and Fairness FlowSchema API
Description:
The flowcontrol.apiserver.k8s.io API group MUST exist in the
/apis discovery document.
The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
in the /apis/flowcontrol.apiserver.k8s.io discovery document.
The flowschemas and flowschemas/status resources MUST exist
in the /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
The flowschema resource must support create, get, list, watch,
update, patch, delete, and deletecollection.
*/
ginkgo.It("should support Priority and Fairness FlowSchema API operations", func(ctx context.Context) {
framework.ConformanceIt("should support FlowSchema API operations", func(ctx context.Context) {
fsVersion := "v1"
ginkgo.By("getting /apis")
{
@ -497,18 +498,20 @@ var _ = SIGDescribe("API priority and fairness", func() {
})
/*
Release: v1.29
Testname: PriorityLevelConfiguration API
Description:
The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis discovery document.
The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
in the /apis/flowcontrol.apiserver.k8s.io discovery document.
The prioritylevelconfiguration and prioritylevelconfiguration/status resources
MUST exist in the /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
The prioritylevelconfiguration resource must support create, get, list, watch,
update, patch, delete, and deletecollection.
Release: v1.29
Testname: Priority and Fairness PriorityLevelConfiguration API
Description:
The flowcontrol.apiserver.k8s.io API group MUST exist in the
/apis discovery document.
The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
in the /apis/flowcontrol.apiserver.k8s.io discovery document.
The prioritylevelconfiguration and prioritylevelconfiguration/status
resources MUST exist in the
/apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
The prioritylevelconfiguration resource must support create, get,
list, watch, update, patch, delete, and deletecollection.
*/
ginkgo.It("should support Priority and Fairness PriorityLevelConfiguration API operations", func(ctx context.Context) {
framework.ConformanceIt("should support PriorityLevelConfiguration API operations", func(ctx context.Context) {
plVersion := "v1"
ginkgo.By("getting /apis")
{