Promote VAC API test to conformance

This commit is contained in:
carlory 2025-08-20 11:10:33 +08:00
parent 4e8b192b66
commit f920b064d0
No known key found for this signature in database
GPG key ID: A045E1459D5F2869
2 changed files with 13 additions and 2 deletions

View file

@ -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

View file

@ -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