Merge pull request #111264 from ii/promote-resourcequota-lifecycle-test

Promote List, Patch & DeleteCollection ResourceQuota test - +3 endpoint coverage
This commit is contained in:
Kubernetes Prow Robot 2022-07-21 14:25:39 -07:00 committed by GitHub
commit b431a61e10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 1 deletions

View File

@ -504,6 +504,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