Remove double-ownership of PV ResourceQuota tests

This commit is contained in:
wojtekt 2021-03-12 08:15:00 +01:00
parent 23d4b3b4f0
commit be87a9331b

View File

@ -478,7 +478,7 @@ var _ = SIGDescribe("ResourceQuota", func() {
Delete the PVC. Deletion MUST succeed and resource usage count against its PVC and storage object MUST be released from ResourceQuotaStatus of the ResourceQuota. Delete the PVC. Deletion MUST succeed and resource usage count against its PVC and storage object MUST be released from ResourceQuotaStatus of the ResourceQuota.
[NotConformancePromotable] as test suite do not have any e2e at this moment which are explicitly verifying PV and PVC behaviour. [NotConformancePromotable] as test suite do not have any e2e at this moment which are explicitly verifying PV and PVC behaviour.
*/ */
ginkgo.It("should create a ResourceQuota and capture the life of a persistent volume claim. [sig-storage]", func() { ginkgo.It("should create a ResourceQuota and capture the life of a persistent volume claim", func() {
ginkgo.By("Counting existing ResourceQuota") ginkgo.By("Counting existing ResourceQuota")
c, err := countResourceQuota(f.ClientSet, f.Namespace.Name) c, err := countResourceQuota(f.ClientSet, f.Namespace.Name)
framework.ExpectNoError(err) framework.ExpectNoError(err)
@ -528,7 +528,7 @@ var _ = SIGDescribe("ResourceQuota", func() {
Delete the PVC. Deletion MUST succeed and resource usage count against PVC, storageClass and storage object MUST be released from ResourceQuotaStatus of the ResourceQuota. Delete the PVC. Deletion MUST succeed and resource usage count against PVC, storageClass and storage object MUST be released from ResourceQuotaStatus of the ResourceQuota.
[NotConformancePromotable] as test suite do not have any e2e at this moment which are explicitly verifying PV and PVC behaviour. [NotConformancePromotable] as test suite do not have any e2e at this moment which are explicitly verifying PV and PVC behaviour.
*/ */
ginkgo.It("should create a ResourceQuota and capture the life of a persistent volume claim with a storage class. [sig-storage]", func() { ginkgo.It("should create a ResourceQuota and capture the life of a persistent volume claim with a storage class", func() {
ginkgo.By("Counting existing ResourceQuota") ginkgo.By("Counting existing ResourceQuota")
c, err := countResourceQuota(f.ClientSet, f.Namespace.Name) c, err := countResourceQuota(f.ClientSet, f.Namespace.Name)
framework.ExpectNoError(err) framework.ExpectNoError(err)