mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Promote ResourceQuota e2e test to Conformance
This commit is contained in:
parent
4a3bac5eae
commit
168fa73b60
14
test/conformance/testdata/conformance.yaml
vendored
14
test/conformance/testdata/conformance.yaml
vendored
@ -428,6 +428,20 @@
|
||||
MUST now include the new Label.
|
||||
release: v1.18
|
||||
file: test/e2e/apimachinery/namespace.go
|
||||
- testname: ResourceQuota, apply changes to a ResourceQuota status
|
||||
codename: '[sig-api-machinery] ResourceQuota should apply changes to a resourcequota
|
||||
status [Conformance]'
|
||||
description: Attempt to create a ResourceQuota for CPU and Memory quota limits.
|
||||
Creation MUST be successful. Updating the hard status values MUST succeed and
|
||||
the new values MUST be found. The reported hard status values MUST equal the spec
|
||||
hard values. Patching the spec hard values MUST succeed and the new values MUST
|
||||
be found. Patching the hard status values MUST succeed. The reported hard status
|
||||
values MUST equal the new spec hard values. Getting the /status MUST succeed and
|
||||
the reported hard status values MUST equal the spec hard values. Repatching the
|
||||
hard status values MUST succeed. The spec spec MUST NOT be changed when patching
|
||||
/status.
|
||||
release: v1.26
|
||||
file: test/e2e/apimachinery/resource_quota.go
|
||||
- testname: ResourceQuota, update and delete
|
||||
codename: '[sig-api-machinery] ResourceQuota should be able to update and delete
|
||||
ResourceQuota. [Conformance]'
|
||||
|
@ -992,7 +992,22 @@ var _ = SIGDescribe("ResourceQuota", func() {
|
||||
}
|
||||
})
|
||||
|
||||
ginkgo.It("should apply changes to a resourcequota status", func() {
|
||||
/*
|
||||
Release: v1.26
|
||||
Testname: ResourceQuota, apply changes to a ResourceQuota status
|
||||
Description: Attempt to create a ResourceQuota for CPU and Memory
|
||||
quota limits. Creation MUST be successful. Updating the hard
|
||||
status values MUST succeed and the new values MUST be found. The
|
||||
reported hard status values MUST equal the spec hard values.
|
||||
Patching the spec hard values MUST succeed and the new values MUST
|
||||
be found. Patching the hard status values MUST succeed. The
|
||||
reported hard status values MUST equal the new spec hard values.
|
||||
Getting the /status MUST succeed and the reported hard status
|
||||
values MUST equal the spec hard values. Repatching the hard status
|
||||
values MUST succeed. The spec spec MUST NOT be changed when
|
||||
patching /status.
|
||||
*/
|
||||
framework.ConformanceIt("should apply changes to a resourcequota status", func() {
|
||||
ns := f.Namespace.Name
|
||||
rqClient := f.ClientSet.CoreV1().ResourceQuotas(ns)
|
||||
rqName := "e2e-rq-status-" + utilrand.String(5)
|
||||
|
Loading…
Reference in New Issue
Block a user