mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
Merge pull request #113060 from ii/promote-limitrange-test
Promote List, Patch and Delete LimitRange test to Conformance - +3 Endpoints
This commit is contained in:
commit
e16dbe94a6
10
test/conformance/testdata/conformance.yaml
vendored
10
test/conformance/testdata/conformance.yaml
vendored
@ -2361,6 +2361,16 @@
|
|||||||
validate the pod resources are applied to the Limitrange
|
validate the pod resources are applied to the Limitrange
|
||||||
release: v1.18
|
release: v1.18
|
||||||
file: test/e2e/scheduling/limit_range.go
|
file: test/e2e/scheduling/limit_range.go
|
||||||
|
- testname: LimitRange, list, patch and delete a LimitRange by collection
|
||||||
|
codename: '[sig-scheduling] LimitRange should list, patch and delete a LimitRange
|
||||||
|
by collection [Conformance]'
|
||||||
|
description: When two limitRanges are created in different namespaces, both MUST
|
||||||
|
succeed. Listing limitRanges across all namespaces with a labelSelector MUST find
|
||||||
|
both limitRanges. When patching the first limitRange it MUST succeed and the fields
|
||||||
|
MUST equal the new values. When deleting the limitRange by collection with a labelSelector
|
||||||
|
it MUST delete only one limitRange.
|
||||||
|
release: v1.26
|
||||||
|
file: test/e2e/scheduling/limit_range.go
|
||||||
- testname: Scheduler, resource limits
|
- testname: Scheduler, resource limits
|
||||||
codename: '[sig-scheduling] SchedulerPredicates [Serial] validates resource limits
|
codename: '[sig-scheduling] SchedulerPredicates [Serial] validates resource limits
|
||||||
of pods that are allowed to run [Conformance]'
|
of pods that are allowed to run [Conformance]'
|
||||||
|
@ -226,7 +226,17 @@ var _ = SIGDescribe("LimitRange", func() {
|
|||||||
framework.ExpectNoError(err)
|
framework.ExpectNoError(err)
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should list, patch and delete a LimitRange by collection", func() {
|
/*
|
||||||
|
Release: v1.26
|
||||||
|
Testname: LimitRange, list, patch and delete a LimitRange by collection
|
||||||
|
Description: When two limitRanges are created in different namespaces,
|
||||||
|
both MUST succeed. Listing limitRanges across all namespaces with a
|
||||||
|
labelSelector MUST find both limitRanges. When patching the first limitRange
|
||||||
|
it MUST succeed and the fields MUST equal the new values. When deleting
|
||||||
|
the limitRange by collection with a labelSelector it MUST delete only one
|
||||||
|
limitRange.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should list, patch and delete a LimitRange by collection", func() {
|
||||||
|
|
||||||
ns := f.Namespace.Name
|
ns := f.Namespace.Name
|
||||||
lrClient := f.ClientSet.CoreV1().LimitRanges(ns)
|
lrClient := f.ClientSet.CoreV1().LimitRanges(ns)
|
||||||
|
Loading…
Reference in New Issue
Block a user