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:
Kubernetes Prow Robot 2022-10-13 17:58:46 -07:00 committed by GitHub
commit e16dbe94a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 1 deletions

View File

@ -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]'

View File

@ -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)