Merge pull request #96619 from SergeyKanzhelev/runtimeAPIConf

convert the runtimeclass API tests to conformance
This commit is contained in:
Kubernetes Prow Robot 2020-11-18 08:40:05 -08:00 committed by GitHub
commit 1df1f882c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -1964,6 +1964,16 @@
The PodTemplate must be deleted.
release: v1.19
file: test/e2e/common/podtemplates.go
- testname: RuntimeClass API
codename: '[sig-node] RuntimeClass should support RuntimeClasses API operations
[Conformance]'
description: ' The node.k8s.io API group MUST exist in the /apis discovery document.
The node.k8s.io/v1 API group/version MUST exist in the /apis/mode.k8s.io discovery
document. The runtimeclasses resource MUST exist in the /apis/node.k8s.io/v1 discovery
document. The runtimeclasses resource must support create, get, list, watch, update,
patch, delete, and deletecollection.'
release: v1.20
file: test/e2e/common/runtimeclass.go
- testname: LimitRange, resources
codename: '[sig-scheduling] LimitRange should create a LimitRange with defaults
and ensure pod has those defaults applied. [Conformance]'

View File

@ -97,7 +97,7 @@ var _ = ginkgo.Describe("[sig-node] RuntimeClass", func() {
The runtimeclasses resource MUST exist in the /apis/node.k8s.io/v1 discovery document.
The runtimeclasses resource must support create, get, list, watch, update, patch, delete, and deletecollection.
*/
ginkgo.It(" [NodeConformance] should support RuntimeClasses API operations", func() {
framework.ConformanceIt(" should support RuntimeClasses API operations", func() {
// Setup
rcVersion := "v1"
rcClient := f.ClientSet.NodeV1().RuntimeClasses()