Skip to content

Commit 7ff0580

Browse files
authored
Merge pull request kubernetes#127458 from ii/promote-volume-attachment-status-test
Promote e2e test for VolumeAttachmentStatus Endpoints +3 Endpoints
2 parents ff391ce + 70f493a commit 7ff0580

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

test/conformance/testdata/conformance.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3592,6 +3592,17 @@
35923592
was configured with a subpath.
35933593
release: v1.12
35943594
file: test/e2e/storage/subpath.go
3595+
- testname: VolumeAttachment, apply changes to a volumeattachment status
3596+
codename: '[sig-storage] VolumeAttachment Conformance should apply changes to a
3597+
volumeattachment status [Conformance]'
3598+
description: Creating an initial VolumeAttachment MUST succeed. Patching a VolumeAttachment
3599+
MUST succeed with its new label found. Reading VolumeAttachment status MUST succeed
3600+
with its attached status being false. Patching the VolumeAttachment status MUST
3601+
succeed with its attached status being true. Updating the VolumeAttachment status
3602+
MUST succeed with its attached status being false. Deleting a VolumeAttachment
3603+
MUST succeed and it MUST be confirmed.
3604+
release: v1.32
3605+
file: test/e2e/storage/volume_attachment.go
35953606
- testname: VolumeAttachment, lifecycle
35963607
codename: '[sig-storage] VolumeAttachment Conformance should run through the lifecycle
35973608
of a VolumeAttachment [Conformance]'

test/e2e/storage/volume_attachment.go

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,17 @@ var _ = utils.SIGDescribe("VolumeAttachment", func() {
167167
framework.ExpectNoError(err, "Timeout while waiting to confirm deletion of all VolumeAttachments")
168168
})
169169

170-
ginkgo.It("should apply changes to a volumeattachment status", func(ctx context.Context) {
170+
/*
171+
Release: v1.32
172+
Testname: VolumeAttachment, apply changes to a volumeattachment status
173+
Description: Creating an initial VolumeAttachment MUST succeed. Patching a VolumeAttachment
174+
MUST succeed with its new label found. Reading VolumeAttachment status MUST succeed
175+
with its attached status being false. Patching the VolumeAttachment status MUST
176+
succeed with its attached status being true. Updating the VolumeAttachment status
177+
MUST succeed with its attached status being false. Deleting a VolumeAttachment
178+
MUST succeed and it MUST be confirmed.
179+
*/
180+
framework.ConformanceIt("should apply changes to a volumeattachment status", func(ctx context.Context) {
171181

172182
vaClient := f.ClientSet.StorageV1().VolumeAttachments()
173183

0 commit comments

Comments
 (0)