Promote CSIDriver e2e test to Conformance

This commit is contained in:
Stephen Heywood 2023-06-06 10:28:39 +12:00
parent 2901730626
commit 5d4bf0b6f9
2 changed files with 19 additions and 1 deletions

View File

@ -2565,6 +2565,15 @@
pod.
release: v1.19
file: test/e2e/scheduling/preemption.go
- testname: CSIDriver, lifecycle
codename: '[sig-storage] CSIInlineVolumes should run through the lifecycle of a
CSIDriver [Conformance]'
description: Creating two CSIDrivers MUST succeed. Patching a CSIDriver MUST succeed
with its new label found. Updating a CSIDriver MUST succeed with its new label
found. Two CSIDrivers MUST be found when listed. Deleting the first CSIDriver
MUST succeed. Deleting the second CSIDriver via deleteCollection MUST succeed.
release: v1.28
file: test/e2e/storage/csi_inline.go
- testname: CSIInlineVolumes should support Pods with inline volumes
codename: '[sig-storage] CSIInlineVolumes should support CSIVolumeSource in Pod
API [Conformance]'

View File

@ -230,7 +230,16 @@ var _ = utils.SIGDescribe("CSIInlineVolumes", func() {
}
})
ginkgo.It("should run through the lifecycle of a CSIDriver", func(ctx context.Context) {
/*
Release: v1.28
Testname: CSIDriver, lifecycle
Description: Creating two CSIDrivers MUST succeed. Patching a CSIDriver MUST
succeed with its new label found. Updating a CSIDriver MUST succeed with its
new label found. Two CSIDrivers MUST be found when listed. Deleting the first
CSIDriver MUST succeed. Deleting the second CSIDriver via deleteCollection
MUST succeed.
*/
framework.ConformanceIt("should run through the lifecycle of a CSIDriver", func(ctx context.Context) {
// Create client
client := f.ClientSet.StorageV1().CSIDrivers()
defaultFSGroupPolicy := storagev1.ReadWriteOnceWithFSTypeFSGroupPolicy