From f920b064d00a2606ee5bf94187993d708e2b0ff3 Mon Sep 17 00:00:00 2001 From: carlory Date: Wed, 20 Aug 2025 11:10:33 +0800 Subject: [PATCH] Promote VAC API test to conformance --- test/conformance/testdata/conformance.yaml | 11 +++++++++++ test/e2e/storage/volumeattributesclass.go | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index b95f2474f00..89fff79edc3 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -3788,4 +3788,15 @@ via deleteCollection MUST succeed and it MUST be confirmed. release: v1.30 file: test/e2e/storage/volume_attachment.go +- testname: VolumeAttributesClass, lifecycle + codename: '[sig-storage] VolumeAttributesClass [FeatureGate:VolumeAttributesClass] + should run through the lifecycle of a VolumeAttributesClass [Conformance]' + description: Creating a VolumeAttributesClass MUST succeed. Reading the VolumeAttributesClass + MUST succeed. Patching the VolumeAttributesClass MUST succeed with its new label + found. Deleting the VolumeAttributesClass MUST succeed and it MUST be confirmed. + Replacement VolumeAttributesClass MUST be created. Updating the VolumeAttributesClass + MUST succeed with its new label found. Deleting the VolumeAttributesClass via + deleteCollection MUST succeed and it MUST be confirmed. + release: v1.35 + file: test/e2e/storage/volumeattributesclass.go diff --git a/test/e2e/storage/volumeattributesclass.go b/test/e2e/storage/volumeattributesclass.go index abed51177ce..29aa0e9d9b1 100644 --- a/test/e2e/storage/volumeattributesclass.go +++ b/test/e2e/storage/volumeattributesclass.go @@ -40,7 +40,7 @@ var _ = utils.SIGDescribe("VolumeAttributesClass", framework.WithFeatureGate(fea f := framework.NewDefaultFramework("csi-volumeattributesclass") f.NamespacePodSecurityLevel = admissionapi.LevelBaseline /* - Release: v1.29 + Release: v1.35 Testname: VolumeAttributesClass, lifecycle Description: Creating a VolumeAttributesClass MUST succeed. Reading the VolumeAttributesClass MUST succeed. Patching the VolumeAttributesClass MUST succeed with its new label found. Deleting @@ -48,7 +48,7 @@ var _ = utils.SIGDescribe("VolumeAttributesClass", framework.WithFeatureGate(fea MUST be created. Updating the VolumeAttributesClass MUST succeed with its new label found. Deleting the VolumeAttributesClass via deleteCollection MUST succeed and it MUST be confirmed. */ - framework.It("should run through the lifecycle of a VolumeAttributesClass", func(ctx context.Context) { + framework.ConformanceIt("should run through the lifecycle of a VolumeAttributesClass", func(ctx context.Context) { vacClient := f.ClientSet.StorageV1().VolumeAttributesClasses() var initialVAC, replacementVAC *storagev1.VolumeAttributesClass