From 84c02e370c192db92f3280061ccc221cb604ceff Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Mon, 10 Oct 2022 10:58:30 +1300 Subject: [PATCH] Promote ReplicationController scale e2e test to Conformance --- test/conformance/testdata/conformance.yaml | 8 ++++++++ test/e2e/apps/rc.go | 9 ++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 7044cb37163..c246481f85c 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -903,6 +903,14 @@ Pod or delete and replace it with a new Pod release: v1.13 file: test/e2e/apps/rc.go +- testname: Replication Controller, get and update ReplicationController scale + codename: '[sig-apps] ReplicationController should get and update a ReplicationController + scale [Conformance]' + description: A ReplicationController is created which MUST succeed. It MUST succeed + when reading the ReplicationController scale. When updating the ReplicationController + scale it MUST succeed and the field MUST equal the new value. + release: v1.26 + file: test/e2e/apps/rc.go - testname: Replication Controller, release pods codename: '[sig-apps] ReplicationController should release no longer matching pods [Conformance]' diff --git a/test/e2e/apps/rc.go b/test/e2e/apps/rc.go index d07dc2a7d79..c351cb2e8ca 100644 --- a/test/e2e/apps/rc.go +++ b/test/e2e/apps/rc.go @@ -392,7 +392,14 @@ var _ = SIGDescribe("ReplicationController", func() { }) }) - ginkgo.It("should get and update a ReplicationController scale", func() { + /* + Release: v1.26 + Testname: Replication Controller, get and update ReplicationController scale + Description: A ReplicationController is created which MUST succeed. It MUST + succeed when reading the ReplicationController scale. When updating the + ReplicationController scale it MUST succeed and the field MUST equal the new value. + */ + framework.ConformanceIt("should get and update a ReplicationController scale", func() { rcClient := f.ClientSet.CoreV1().ReplicationControllers(ns) rcName := "e2e-rc-" + utilrand.String(5) initialRCReplicaCount := int32(1)