Promote StorageClass e2e test to Conformance

This commit is contained in:
Stephen Heywood 2023-09-20 09:44:55 +12:00
parent 89d822198f
commit de244b2678
2 changed files with 21 additions and 1 deletions

View File

@ -3365,6 +3365,16 @@
to delete the secret, the deletion must succeed.
release: v1.21
file: test/e2e/common/storage/secrets_volume.go
- testname: StorageClass, lifecycle
codename: '[sig-storage] StorageClasses CSI Conformance should run through the lifecycle
of a StorageClass [Conformance]'
description: Creating a StorageClass MUST succeed. Reading the StorageClass MUST
succeed. Patching the StorageClass MUST succeed with its new label found. Deleting
the StorageClass MUST succeed and it MUST be confirmed. Replacement StorageClass
MUST be created. Updating the StorageClass MUST succeed with its new label found.
Deleting the StorageClass via deleteCollection MUST succeed and it MUST be confirmed.
release: v1.29
file: test/e2e/storage/storageclass.go
- testname: 'SubPath: Reading content from a configmap volume.'
codename: '[sig-storage] Subpath Atomic writer volumes should support subpaths with
configmap pod [Conformance]'

View File

@ -40,7 +40,17 @@ var _ = utils.SIGDescribe("StorageClasses", func() {
f.NamespacePodSecurityLevel = admissionapi.LevelBaseline
ginkgo.Describe("CSI Conformance", func() {
ginkgo.It("should run through the lifecycle of a StorageClass", func(ctx context.Context) {
/*
Release: v1.29
Testname: StorageClass, lifecycle
Description: Creating a StorageClass MUST succeed. Reading the StorageClass MUST
succeed. Patching the StorageClass MUST succeed with its new label found. Deleting
the StorageClass MUST succeed and it MUST be confirmed. Replacement StorageClass
MUST be created. Updating the StorageClass MUST succeed with its new label found.
Deleting the StorageClass via deleteCollection MUST succeed and it MUST be confirmed.
*/
framework.ConformanceIt("should run through the lifecycle of a StorageClass", func(ctx context.Context) {
scClient := f.ClientSet.StorageV1().StorageClasses()
var initialSC, replacementSC *storagev1.StorageClass