From bc2aabaaeb17741f5796a62ed045f90f409b162f Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Sun, 19 Jan 2020 20:44:42 +0000 Subject: [PATCH] Add: promotion for LimitRange defaults test to Conformance --- test/conformance/testdata/conformance.txt | 1 + test/e2e/scheduling/limit_range.go | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/conformance/testdata/conformance.txt b/test/conformance/testdata/conformance.txt index f08d4450b4e..dfc969e5b3d 100644 --- a/test/conformance/testdata/conformance.txt +++ b/test/conformance/testdata/conformance.txt @@ -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/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/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 that NodeSelector is respected if not matching" test/e2e/scheduling/predicates.go: "validates that NodeSelector is respected if matching" diff --git a/test/e2e/scheduling/limit_range.go b/test/e2e/scheduling/limit_range.go index e8eccf5b737..c0ff69a6ae4 100644 --- a/test/e2e/scheduling/limit_range.go +++ b/test/e2e/scheduling/limit_range.go @@ -47,12 +47,11 @@ var _ = SIGDescribe("LimitRange", func() { f := framework.NewDefaultFramework("limitrange") /* - Release : v1.15 + Release : v1.18 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 */ - //note: this test case can be promoted to conformance after verified the stability of the test case - ginkgo.It("should create a LimitRange with defaults and ensure pod has those defaults applied.", func() { + framework.ConformanceIt("should create a LimitRange with defaults and ensure pod has those defaults applied.", func() { ginkgo.By("Creating a LimitRange") min := getResourceList("50m", "100Mi", "100Gi") max := getResourceList("500m", "500Mi", "500Gi")