Skip to content

Commit 86ba88d

Browse files
committed
Promote: Discovery PreferredVersion test
1 parent 5a529aa commit 86ba88d

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

test/conformance/testdata/conformance.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,13 @@
801801
definitions MUST be published for custom resource definitions.
802802
release: v1.16
803803
file: test/e2e/apimachinery/crd_publish_openapi.go
804+
- testname: Discovery, confirm the PreferredVersion for each api group
805+
codename: '[sig-api-machinery] Discovery should validate PreferredVersion for each
806+
APIGroup [Conformance]'
807+
description: Ensure that a list of apis is retrieved. Each api group found MUST
808+
return a valid PreferredVersion unless the group suffix is example.com.
809+
release: v1.19
810+
file: test/e2e/apimachinery/discovery.go
804811
- testname: Event, delete a collection
805812
codename: '[sig-api-machinery] Events should delete a collection of events [Conformance]'
806813
description: A set of events is created with a label selector which MUST be found

test/e2e/apimachinery/discovery.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,13 @@ var _ = SIGDescribe("Discovery", func() {
8282
}
8383
})
8484

85-
ginkgo.It("should validate PreferredVersion for each APIGroup", func() {
85+
/*
86+
Release : v1.19
87+
Testname: Discovery, confirm the PreferredVersion for each api group
88+
Description: Ensure that a list of apis is retrieved.
89+
Each api group found MUST return a valid PreferredVersion unless the group suffix is example.com.
90+
*/
91+
framework.ConformanceIt("should validate PreferredVersion for each APIGroup", func() {
8692

8793
// get list of APIGroup endpoints
8894
list := &metav1.APIGroupList{}

0 commit comments

Comments
 (0)