Promote ResourceQuota e2e test to Conformance

This commit is contained in:
Stephen Heywood 2022-07-20 11:29:43 +12:00
parent 9f9602ef83
commit bc783aaeb7
2 changed files with 23 additions and 1 deletions

View File

@ -492,6 +492,17 @@
MUST match to expected used and total allowed resource quota count within namespace.
release: v1.16
file: test/e2e/apimachinery/resource_quota.go
- testname: ResourceQuota, manage lifecycle of a ResourceQuota
codename: '[sig-api-machinery] ResourceQuota should manage the lifecycle of a ResourceQuota
[Conformance]'
description: Attempt to create a ResourceQuota for CPU and Memory quota limits.
Creation MUST be successful. Attempt to list all namespaces with a label selector
which MUST succeed. One list MUST be found. The ResourceQuota when patched MUST
succeed. Given the patching of the ResourceQuota, the fields MUST equal the new
values. It MUST succeed at deleting a collection of ResourceQuota via a label
selector.
release: v1.25
file: test/e2e/apimachinery/resource_quota.go
- testname: ResourceQuota, quota scope, BestEffort and NotBestEffort scope
codename: '[sig-api-machinery] ResourceQuota should verify ResourceQuota with best
effort scope. [Conformance]'

View File

@ -919,7 +919,18 @@ var _ = SIGDescribe("ResourceQuota", func() {
}
})
ginkgo.It("should manage the lifecycle of a ResourceQuota", func() {
/*
Release: v1.25
Testname: ResourceQuota, manage lifecycle of a ResourceQuota
Description: Attempt to create a ResourceQuota for CPU and Memory
quota limits. Creation MUST be successful. Attempt to list all
namespaces with a label selector which MUST succeed. One list
MUST be found. The ResourceQuota when patched MUST succeed.
Given the patching of the ResourceQuota, the fields MUST equal
the new values. It MUST succeed at deleting a collection of
ResourceQuota via a label selector.
*/
framework.ConformanceIt("should manage the lifecycle of a ResourceQuota", func() {
client := f.ClientSet
ns := f.Namespace.Name