mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Add: promotion for LimitRange defaults test to Conformance
This commit is contained in:
parent
d1f21339ea
commit
bc2aabaaeb
1
test/conformance/testdata/conformance.txt
vendored
1
test/conformance/testdata/conformance.txt
vendored
@ -263,6 +263,7 @@ test/e2e/network/service_latency.go: "should not be very high"
|
|||||||
test/e2e/node/events.go: "should be sent by kubelets and the scheduler about pods scheduling and running"
|
test/e2e/node/events.go: "should be sent by kubelets and the scheduler about pods scheduling and running"
|
||||||
test/e2e/node/pods.go: "should be set on Pods with matching resource requests and limits for memory and cpu"
|
test/e2e/node/pods.go: "should be set on Pods with matching resource requests and limits for memory and cpu"
|
||||||
test/e2e/node/pre_stop.go: "should call prestop when killing a pod"
|
test/e2e/node/pre_stop.go: "should call prestop when killing a pod"
|
||||||
|
test/e2e/scheduling/limit_range.go: "should create a LimitRange with defaults and ensure pod has those defaults applied."
|
||||||
test/e2e/scheduling/predicates.go: "validates resource limits of pods that are allowed to run"
|
test/e2e/scheduling/predicates.go: "validates resource limits of pods that are allowed to run"
|
||||||
test/e2e/scheduling/predicates.go: "validates that NodeSelector is respected if not matching"
|
test/e2e/scheduling/predicates.go: "validates that NodeSelector is respected if not matching"
|
||||||
test/e2e/scheduling/predicates.go: "validates that NodeSelector is respected if matching"
|
test/e2e/scheduling/predicates.go: "validates that NodeSelector is respected if matching"
|
||||||
|
@ -47,12 +47,11 @@ var _ = SIGDescribe("LimitRange", func() {
|
|||||||
f := framework.NewDefaultFramework("limitrange")
|
f := framework.NewDefaultFramework("limitrange")
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Release : v1.15
|
Release : v1.18
|
||||||
Testname: LimitRange, resources
|
Testname: LimitRange, resources
|
||||||
Description: Creating a Limitrange and verifying the creation of Limitrange, updating the Limitrange and validating the Limitrange. Creating Pods with resources and validate the pod resources are applied to the Limitrange
|
Description: Creating a Limitrange and verifying the creation of Limitrange, updating the Limitrange and validating the Limitrange. Creating Pods with resources and validate the pod resources are applied to the Limitrange
|
||||||
*/
|
*/
|
||||||
//note: this test case can be promoted to conformance after verified the stability of the test case
|
framework.ConformanceIt("should create a LimitRange with defaults and ensure pod has those defaults applied.", func() {
|
||||||
ginkgo.It("should create a LimitRange with defaults and ensure pod has those defaults applied.", func() {
|
|
||||||
ginkgo.By("Creating a LimitRange")
|
ginkgo.By("Creating a LimitRange")
|
||||||
min := getResourceList("50m", "100Mi", "100Gi")
|
min := getResourceList("50m", "100Mi", "100Gi")
|
||||||
max := getResourceList("500m", "500Mi", "500Gi")
|
max := getResourceList("500m", "500Mi", "500Gi")
|
||||||
|
Loading…
Reference in New Issue
Block a user