mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Merge pull request #127458 from ii/promote-volume-attachment-status-test
Promote e2e test for VolumeAttachmentStatus Endpoints +3 Endpoints
This commit is contained in:
commit
7ff0580bc8
11
test/conformance/testdata/conformance.yaml
vendored
11
test/conformance/testdata/conformance.yaml
vendored
@ -3592,6 +3592,17 @@
|
|||||||
was configured with a subpath.
|
was configured with a subpath.
|
||||||
release: v1.12
|
release: v1.12
|
||||||
file: test/e2e/storage/subpath.go
|
file: test/e2e/storage/subpath.go
|
||||||
|
- testname: VolumeAttachment, apply changes to a volumeattachment status
|
||||||
|
codename: '[sig-storage] VolumeAttachment Conformance should apply changes to a
|
||||||
|
volumeattachment status [Conformance]'
|
||||||
|
description: Creating an initial VolumeAttachment MUST succeed. Patching a VolumeAttachment
|
||||||
|
MUST succeed with its new label found. Reading VolumeAttachment status MUST succeed
|
||||||
|
with its attached status being false. Patching the VolumeAttachment status MUST
|
||||||
|
succeed with its attached status being true. Updating the VolumeAttachment status
|
||||||
|
MUST succeed with its attached status being false. Deleting a VolumeAttachment
|
||||||
|
MUST succeed and it MUST be confirmed.
|
||||||
|
release: v1.32
|
||||||
|
file: test/e2e/storage/volume_attachment.go
|
||||||
- testname: VolumeAttachment, lifecycle
|
- testname: VolumeAttachment, lifecycle
|
||||||
codename: '[sig-storage] VolumeAttachment Conformance should run through the lifecycle
|
codename: '[sig-storage] VolumeAttachment Conformance should run through the lifecycle
|
||||||
of a VolumeAttachment [Conformance]'
|
of a VolumeAttachment [Conformance]'
|
||||||
|
@ -167,7 +167,17 @@ var _ = utils.SIGDescribe("VolumeAttachment", func() {
|
|||||||
framework.ExpectNoError(err, "Timeout while waiting to confirm deletion of all VolumeAttachments")
|
framework.ExpectNoError(err, "Timeout while waiting to confirm deletion of all VolumeAttachments")
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should apply changes to a volumeattachment status", func(ctx context.Context) {
|
/*
|
||||||
|
Release: v1.32
|
||||||
|
Testname: VolumeAttachment, apply changes to a volumeattachment status
|
||||||
|
Description: Creating an initial VolumeAttachment MUST succeed. Patching a VolumeAttachment
|
||||||
|
MUST succeed with its new label found. Reading VolumeAttachment status MUST succeed
|
||||||
|
with its attached status being false. Patching the VolumeAttachment status MUST
|
||||||
|
succeed with its attached status being true. Updating the VolumeAttachment status
|
||||||
|
MUST succeed with its attached status being false. Deleting a VolumeAttachment
|
||||||
|
MUST succeed and it MUST be confirmed.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should apply changes to a volumeattachment status", func(ctx context.Context) {
|
||||||
|
|
||||||
vaClient := f.ClientSet.StorageV1().VolumeAttachments()
|
vaClient := f.ClientSet.StorageV1().VolumeAttachments()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user