storage capacity: promote CRUD test to conformance

This commit is contained in:
Patrick Ohly 2022-03-22 08:16:58 +01:00
parent 885f14d162
commit 556794d469
2 changed files with 11 additions and 2 deletions

View File

@ -2383,6 +2383,16 @@
pod. pod.
release: v1.19 release: v1.19
file: test/e2e/scheduling/preemption.go file: test/e2e/scheduling/preemption.go
- testname: CSIStorageCapacity API
codename: '[sig-storage] CSIStorageCapacity should support CSIStorageCapacities
API operations [Conformance]'
description: ' The storage.k8s.io API group MUST exist in the /apis discovery document.
The storage.k8s.io/v1 API group/version MUST exist in the /apis/mode.k8s.io discovery
document. The csistoragecapacities resource MUST exist in the /apis/storage.k8s.io/v1
discovery document. The csistoragecapacities resource must support create, get,
list, watch, update, patch, delete, and deletecollection.'
release: v1.24
file: test/e2e/storage/csistoragecapacity.go
- testname: ConfigMap Volume, text data, binary data - testname: ConfigMap Volume, text data, binary data
codename: '[sig-storage] ConfigMap binary data should be reflected in volume [NodeConformance] codename: '[sig-storage] ConfigMap binary data should be reflected in volume [NodeConformance]
[Conformance]' [Conformance]'

View File

@ -43,9 +43,8 @@ var _ = utils.SIGDescribe("CSIStorageCapacity", func() {
The storage.k8s.io/v1 API group/version MUST exist in the /apis/mode.k8s.io discovery document. The storage.k8s.io/v1 API group/version MUST exist in the /apis/mode.k8s.io discovery document.
The csistoragecapacities resource MUST exist in the /apis/storage.k8s.io/v1 discovery document. The csistoragecapacities resource MUST exist in the /apis/storage.k8s.io/v1 discovery document.
The csistoragecapacities resource must support create, get, list, watch, update, patch, delete, and deletecollection. The csistoragecapacities resource must support create, get, list, watch, update, patch, delete, and deletecollection.
TODO (pohly): promote to framework.ConformanceIt
*/ */
ginkgo.It(" should support CSIStorageCapacities API operations", func() { framework.ConformanceIt(" should support CSIStorageCapacities API operations", func() {
// Setup // Setup
cscVersion := "v1" cscVersion := "v1"
cscClient := f.ClientSet.StorageV1().CSIStorageCapacities(f.Namespace.Name) cscClient := f.ClientSet.StorageV1().CSIStorageCapacities(f.Namespace.Name)