From cf0e605f8f089ebe1128446f885271e35ce19440 Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Tue, 8 Oct 2024 09:51:48 +1300 Subject: [PATCH] Promote CSINode e2e test to Conformance --- test/conformance/testdata/conformance.yaml | 12 ++++++++++++ test/e2e/storage/csi_node.go | 13 ++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 10419d9a67e..5a6be27c8c8 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -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]' diff --git a/test/e2e/storage/csi_node.go b/test/e2e/storage/csi_node.go index 4c9f97aea8a..079eb553c56 100644 --- a/test/e2e/storage/csi_node.go +++ b/test/e2e/storage/csi_node.go @@ -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()