Promote CSINode e2e test to Conformance

This commit is contained in:
Stephen Heywood 2024-10-08 09:51:48 +13:00
parent 0b1d123fd0
commit cf0e605f8f
2 changed files with 24 additions and 1 deletions

View File

@ -2791,6 +2791,18 @@
patch, and delete operations.
release: v1.26
file: test/e2e/storage/csi_inline.go
- testname: CSINode, lifecycle
codename: '[sig-storage] CSINodes CSI Conformance should run through the lifecycle
of a csinode [Conformance]'
description: Creating an initial CSINode MUST succeed. Reading a CSINode MUST succeed
with required name retrieved. Patching a CSINode MUST succeed with its new label
found. Listing CSINode with a labelSelector MUST succeed. Deleting a CSINode MUST
succeed and it MUST be confirmed. Creating a replacement CSINode MUST succeed.
Reading a CSINode MUST succeed with required name retrieved. Updating a CSINode
MUST succeed with its new label found. Deleting the CSINode via deleteCollection
MUST succeed and it MUST be confirmed.
release: v1.32
file: test/e2e/storage/csi_node.go
- testname: CSIStorageCapacity API
codename: '[sig-storage] CSIStorageCapacity should support CSIStorageCapacities
API operations [Conformance]'

View File

@ -40,7 +40,18 @@ var _ = utils.SIGDescribe("CSINodes", func() {
ginkgo.Describe("CSI Conformance", func() {
ginkgo.It("should run through the lifecycle of a csinode", func(ctx context.Context) {
/*
Release: v1.32
Testname: CSINode, lifecycle
Description: Creating an initial CSINode MUST succeed. Reading a CSINode MUST
succeed with required name retrieved. Patching a CSINode MUST succeed with its
new label found. Listing CSINode with a labelSelector MUST succeed. Deleting a
CSINode MUST succeed and it MUST be confirmed. Creating a replacement CSINode
MUST succeed. Reading a CSINode MUST succeed with required name retrieved. Updating
a CSINode MUST succeed with its new label found. Deleting the CSINode via deleteCollection
MUST succeed and it MUST be confirmed.
*/
framework.ConformanceIt("should run through the lifecycle of a csinode", func(ctx context.Context) {
csiNodeClient := f.ClientSet.StorageV1().CSINodes()