mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
Promote ResourceQuota e2e test to Conformance
This commit is contained in:
parent
9f9602ef83
commit
bc783aaeb7
11
test/conformance/testdata/conformance.yaml
vendored
11
test/conformance/testdata/conformance.yaml
vendored
@ -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]'
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user