Promote: Discovery PreferredVersion test

This commit is contained in:
Stephen Heywood 2020-07-21 00:30:25 +00:00
parent 5a529aa3a0
commit 86ba88d52f
2 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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{}