Skip to content

Commit 0d2299e

Browse files
authored
Merge pull request kubernetes#93271 from ii/promote-preferred-version
Promote: Discovery PreferredVersion test+16 Endpoints
2 parents ae9f761 + 86ba88d commit 0d2299e

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
@@ -808,6 +808,13 @@
808808
definitions MUST be published for custom resource definitions.
809809
release: v1.16
810810
file: test/e2e/apimachinery/crd_publish_openapi.go
811+
- testname: Discovery, confirm the PreferredVersion for each api group
812+
codename: '[sig-api-machinery] Discovery should validate PreferredVersion for each
813+
APIGroup [Conformance]'
814+
description: Ensure that a list of apis is retrieved. Each api group found MUST
815+
return a valid PreferredVersion unless the group suffix is example.com.
816+
release: v1.19
817+
file: test/e2e/apimachinery/discovery.go
811818
- testname: Event, delete a collection
812819
codename: '[sig-api-machinery] Events should delete a collection of events [Conformance]'
813820
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)