mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +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.
|
MUST now include the new Label.
|
||||||
release: v1.18
|
release: v1.18
|
||||||
file: test/e2e/apimachinery/namespace.go
|
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
|
- testname: ResourceQuota, update and delete
|
||||||
codename: '[sig-api-machinery] ResourceQuota should be able to update and delete
|
codename: '[sig-api-machinery] ResourceQuota should be able to update and delete
|
||||||
ResourceQuota. [Conformance]'
|
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
|
ns := f.Namespace.Name
|
||||||
rqClient := f.ClientSet.CoreV1().ResourceQuotas(ns)
|
rqClient := f.ClientSet.CoreV1().ResourceQuotas(ns)
|
||||||
rqName := "e2e-rq-status-" + utilrand.String(5)
|
rqName := "e2e-rq-status-" + utilrand.String(5)
|
||||||
|
Loading…
Reference in New Issue
Block a user