Promote APIResources e2e test to Conformance

This commit is contained in:
Stephen Heywood 2023-05-15 09:53:31 +12:00
parent aae20dcb78
commit d34d4755ae
2 changed files with 16 additions and 1 deletions

View File

@ -312,6 +312,14 @@
definitions MUST be published for custom resource definitions.
release: v1.16
file: test/e2e/apimachinery/crd_publish_openapi.go
- testname: Discovery, confirm the groupVerion and a resourcefrom each apiGroup
codename: '[sig-api-machinery] Discovery should locate the groupVersion and a resource
within each APIGroup [Conformance]'
description: A resourceList MUST be found for each apiGroup that is retrieved. For
each apiGroup the groupVersion MUST equal the groupVersion as reported by the
schema. From each resourceList a valid resource MUST be found.
release: v1.28
file: test/e2e/apimachinery/discovery.go
- testname: Discovery, confirm the PreferredVersion for each api group
codename: '[sig-api-machinery] Discovery should validate PreferredVersion for each
APIGroup [Conformance]'

View File

@ -159,7 +159,14 @@ var _ = SIGDescribe("Discovery", func() {
}
})
ginkgo.It("should locate the groupVersion and a resource within each APIGroup", func(ctx context.Context) {
/*
Release: v1.28
Testname: Discovery, confirm the groupVerion and a resourcefrom each apiGroup
Description: A resourceList MUST be found for each apiGroup that is retrieved.
For each apiGroup the groupVersion MUST equal the groupVersion as reported by
the schema. From each resourceList a valid resource MUST be found.
*/
framework.ConformanceIt("should locate the groupVersion and a resource within each APIGroup", func(ctx context.Context) {
tests := []struct {
apiBasePath string