Skip to content

Commit 478a3fc

Browse files
authored
Merge pull request kubernetes#121718 from tkashem/apf-conformance
Promote flowcontrol tests to conformance
2 parents c3114b2 + e5bba37 commit 478a3fc

File tree

2 files changed

+47
-22
lines changed

2 files changed

+47
-22
lines changed

test/conformance/testdata/conformance.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
- testname: Priority and Fairness FlowSchema API
2+
codename: '[sig-api-machinery] API priority and fairness should support FlowSchema
3+
API operations [Conformance]'
4+
description: ' The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis
5+
discovery document. The flowcontrol.apiserver.k8s.io/v1 API group/version MUST
6+
exist in the /apis/flowcontrol.apiserver.k8s.io discovery document. The flowschemas
7+
and flowschemas/status resources MUST exist in the /apis/flowcontrol.apiserver.k8s.io/v1
8+
discovery document. The flowschema resource must support create, get, list, watch,
9+
update, patch, delete, and deletecollection.'
10+
release: v1.29
11+
file: test/e2e/apimachinery/flowcontrol.go
12+
- testname: Priority and Fairness PriorityLevelConfiguration API
13+
codename: '[sig-api-machinery] API priority and fairness should support PriorityLevelConfiguration
14+
API operations [Conformance]'
15+
description: ' The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis
16+
discovery document. The flowcontrol.apiserver.k8s.io/v1 API group/version MUST
17+
exist in the /apis/flowcontrol.apiserver.k8s.io discovery document. The prioritylevelconfiguration
18+
and prioritylevelconfiguration/status resources MUST exist in the /apis/flowcontrol.apiserver.k8s.io/v1
19+
discovery document. The prioritylevelconfiguration resource must support create,
20+
get, list, watch, update, patch, delete, and deletecollection.'
21+
release: v1.29
22+
file: test/e2e/apimachinery/flowcontrol.go
123
- testname: Admission webhook, list mutating webhooks
224
codename: '[sig-api-machinery] AdmissionWebhook [Privileged:ClusterAdmin] listing
325
mutating webhooks should work [Conformance]'

test/e2e/apimachinery/flowcontrol.go

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -255,18 +255,19 @@ var _ = SIGDescribe("API priority and fairness", func() {
255255
})
256256

257257
/*
258-
Release: v1.29
259-
Testname: FlowSchema API
260-
Description:
261-
The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis discovery document.
262-
The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
263-
in the /apis/flowcontrol.apiserver.k8s.io discovery document.
264-
The flowschemas and flowschemas/status resources MUST exist
265-
in the /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
266-
The flowschema resource must support create, get, list, watch,
267-
update, patch, delete, and deletecollection.
258+
Release: v1.29
259+
Testname: Priority and Fairness FlowSchema API
260+
Description:
261+
The flowcontrol.apiserver.k8s.io API group MUST exist in the
262+
/apis discovery document.
263+
The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
264+
in the /apis/flowcontrol.apiserver.k8s.io discovery document.
265+
The flowschemas and flowschemas/status resources MUST exist
266+
in the /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
267+
The flowschema resource must support create, get, list, watch,
268+
update, patch, delete, and deletecollection.
268269
*/
269-
ginkgo.It("should support Priority and Fairness FlowSchema API operations", func(ctx context.Context) {
270+
framework.ConformanceIt("should support FlowSchema API operations", func(ctx context.Context) {
270271
fsVersion := "v1"
271272
ginkgo.By("getting /apis")
272273
{
@@ -497,18 +498,20 @@ var _ = SIGDescribe("API priority and fairness", func() {
497498
})
498499

499500
/*
500-
Release: v1.29
501-
Testname: PriorityLevelConfiguration API
502-
Description:
503-
The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis discovery document.
504-
The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
505-
in the /apis/flowcontrol.apiserver.k8s.io discovery document.
506-
The prioritylevelconfiguration and prioritylevelconfiguration/status resources
507-
MUST exist in the /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
508-
The prioritylevelconfiguration resource must support create, get, list, watch,
509-
update, patch, delete, and deletecollection.
501+
Release: v1.29
502+
Testname: Priority and Fairness PriorityLevelConfiguration API
503+
Description:
504+
The flowcontrol.apiserver.k8s.io API group MUST exist in the
505+
/apis discovery document.
506+
The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
507+
in the /apis/flowcontrol.apiserver.k8s.io discovery document.
508+
The prioritylevelconfiguration and prioritylevelconfiguration/status
509+
resources MUST exist in the
510+
/apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
511+
The prioritylevelconfiguration resource must support create, get,
512+
list, watch, update, patch, delete, and deletecollection.
510513
*/
511-
ginkgo.It("should support Priority and Fairness PriorityLevelConfiguration API operations", func(ctx context.Context) {
514+
framework.ConformanceIt("should support PriorityLevelConfiguration API operations", func(ctx context.Context) {
512515
plVersion := "v1"
513516
ginkgo.By("getting /apis")
514517
{

0 commit comments

Comments
 (0)