Merge pull request #120761 from ii/promote-storageclass-lifecycle-test

Promote e2e test for StorageClass Endpoints + 7 Endpoints
This commit is contained in:
Kubernetes Prow Robot 2023-09-20 07:02:02 -07:00 committed by GitHub
commit 71e6923af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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