From 5da4cf0478793b9738aec98c88389d173b942854 Mon Sep 17 00:00:00 2001 From: Sergey Kanzhelev Date: Mon, 16 Nov 2020 21:56:57 +0000 Subject: [PATCH] convert the runtimeclass API tests to conformance --- test/conformance/testdata/conformance.yaml | 10 ++++++++++ test/e2e/common/runtimeclass.go | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 3879ba3a274..205998560a9 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -1957,6 +1957,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]' diff --git a/test/e2e/common/runtimeclass.go b/test/e2e/common/runtimeclass.go index 3b1bc6682b9..761cc19d813 100644 --- a/test/e2e/common/runtimeclass.go +++ b/test/e2e/common/runtimeclass.go @@ -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()