diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index c587797d70c..b4dc8f993e7 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -801,6 +801,13 @@ definitions MUST be published for custom resource definitions. release: v1.16 file: test/e2e/apimachinery/crd_publish_openapi.go +- testname: Discovery, confirm the PreferredVersion for each api group + codename: '[sig-api-machinery] Discovery should validate PreferredVersion for each + APIGroup [Conformance]' + description: Ensure that a list of apis is retrieved. Each api group found MUST + return a valid PreferredVersion unless the group suffix is example.com. + release: v1.19 + file: test/e2e/apimachinery/discovery.go - testname: Event, delete a collection codename: '[sig-api-machinery] Events should delete a collection of events [Conformance]' description: A set of events is created with a label selector which MUST be found diff --git a/test/e2e/apimachinery/discovery.go b/test/e2e/apimachinery/discovery.go index 417fa79522d..0fd96491571 100644 --- a/test/e2e/apimachinery/discovery.go +++ b/test/e2e/apimachinery/discovery.go @@ -82,7 +82,13 @@ var _ = SIGDescribe("Discovery", func() { } }) - ginkgo.It("should validate PreferredVersion for each APIGroup", func() { + /* + Release : v1.19 + Testname: Discovery, confirm the PreferredVersion for each api group + Description: Ensure that a list of apis is retrieved. + Each api group found MUST return a valid PreferredVersion unless the group suffix is example.com. + */ + framework.ConformanceIt("should validate PreferredVersion for each APIGroup", func() { // get list of APIGroup endpoints list := &metav1.APIGroupList{}