Promote PV/PVC status e2e test to Conformance

This commit is contained in:
Stephen Heywood 2023-10-17 09:40:20 +13:00
parent 3a3dc870a2
commit 2e8f66afb3
2 changed files with 24 additions and 1 deletions

View File

@ -3007,6 +3007,18 @@
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), apply changes to a pv/pvc status
codename: '[sig-storage] PersistentVolumes CSI Conformance should apply changes
to a pv/pvc status [Conformance]'
description: Creating PV and PVC MUST succeed. Listing PVs with a labelSelector
MUST succeed. Listing PVCs in a namespace MUST succeed. Reading PVC status MUST
succeed with a valid phase found. Reading PV status MUST succeed with a valid
phase found. Patching the PVC status MUST succeed with its new condition found.
Patching the PV status MUST succeed with the new reason/message found. Updating
the PVC status MUST succeed with its new condition found. Updating the PV status
MUST succeed with the new reason/message found.
release: v1.29
file: test/e2e/storage/persistent_volumes.go
- testname: PersistentVolumes(Claims), lifecycle
codename: '[sig-storage] PersistentVolumes CSI Conformance should run through the
lifecycle of a PV and a PVC [Conformance]'

View File

@ -650,7 +650,18 @@ var _ = utils.SIGDescribe("PersistentVolumes", func() {
framework.ExpectNoError(err, "Timeout while waiting to confirm PV %q deletion", retrievedPV.Name)
})
ginkgo.It("should apply changes to a pv/pvc status", func(ctx context.Context) {
/*
Release: v1.29
Testname: PersistentVolumes(Claims), apply changes to a pv/pvc status
Description: Creating PV and PVC MUST succeed. Listing PVs with a labelSelector
MUST succeed. Listing PVCs in a namespace MUST succeed. Reading PVC status MUST
succeed with a valid phase found. Reading PV status MUST succeed with a valid
phase found. Patching the PVC status MUST succeed with its new condition found.
Patching the PV status MUST succeed with the new reason/message found. Updating
the PVC status MUST succeed with its new condition found. Updating the PV status
MUST succeed with the new reason/message found.
*/
framework.ConformanceIt("should apply changes to a pv/pvc status", func(ctx context.Context) {
pvClient := c.CoreV1().PersistentVolumes()
pvcClient := c.CoreV1().PersistentVolumeClaims(ns)