Merge pull request #120552 from ii/promote-pv-pvc-lifecycle-test

Promote e2e test for PersistentVolume & PersistentVolumeClaim Endpoints + 13 Endpoints
This commit is contained in:
Kubernetes Prow Robot 2023-09-12 14:42:22 -07:00 committed by GitHub
commit 81ac3f9e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 1 deletions

View File

@ -2967,6 +2967,19 @@
able to start with Secret and ConfigMap volumes mounted into the container.
release: v1.13
file: test/e2e/storage/empty_dir_wrapper.go
- testname: PersistentVolumes(Claims), lifecycle
codename: '[sig-storage] PersistentVolumes CSI Conformance should run through the
lifecycle of a PV and a PVC [Conformance]'
description: Creating PV and PVC MUST succeed. Listing PVs with a labelSelector
MUST succeed. Listing PVCs in a namespace MUST succeed. Patching a PV MUST succeed
with its new label found. Patching a PVC MUST succeed with its new label found.
Reading a PV and PVC MUST succeed with required UID retrieved. Deleting a PVC
and PV MUST succeed and it MUST be confirmed. Replacement PV and PVC MUST be created.
Updating a PV MUST succeed with its new label found. Updating a PVC MUST succeed
with its new label found. Deleting the PVC and PV via deleteCollection MUST succeed
and it MUST be confirmed.
release: v1.29
file: test/e2e/storage/persistent_volumes.go
- testname: Projected Volume, multiple projections
codename: '[sig-storage] Projected combined should project all components that make
up the projection API [Projection][NodeConformance] [Conformance]'

View File

@ -393,7 +393,19 @@ var _ = utils.SIGDescribe("PersistentVolumes", func() {
}
})
ginkgo.It("should run through the lifecycle of a PV and a PVC", func(ctx context.Context) {
/*
Release: v1.29
Testname: PersistentVolumes(Claims), lifecycle
Description: Creating PV and PVC MUST succeed. Listing PVs with a labelSelector
MUST succeed. Listing PVCs in a namespace MUST succeed. Patching a PV MUST succeed
with its new label found. Patching a PVC MUST succeed with its new label found.
Reading a PV and PVC MUST succeed with required UID retrieved. Deleting a PVC
and PV MUST succeed and it MUST be confirmed. Replacement PV and PVC MUST be created.
Updating a PV MUST succeed with its new label found. Updating a PVC MUST succeed
with its new label found. Deleting the PVC and PV via deleteCollection MUST succeed
and it MUST be confirmed.
*/
framework.ConformanceIt("should run through the lifecycle of a PV and a PVC", func(ctx context.Context) {
pvClient := c.CoreV1().PersistentVolumes()
pvcClient := c.CoreV1().PersistentVolumeClaims(ns)