From d3ad1d77f369a6472ec9d6333ba5dc3bfb7349da Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Mon, 28 Jun 2021 10:06:27 +1200 Subject: [PATCH] Promote Statefulset list and deleteCollection e2e test to Conformance --- test/conformance/testdata/conformance.yaml | 8 ++++++++ test/e2e/apps/statefulset.go | 10 +++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 982702d0eba..ce63c1285ae 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -889,6 +889,14 @@ scale MUST be at two replicas. release: v1.16, v1.21 file: test/e2e/apps/statefulset.go +- testname: StatefulSet, list, patch and delete a collection of StatefulSets + codename: '[sig-apps] StatefulSet Basic StatefulSet functionality [StatefulSetBasic] + should list, patch and delete a collection of StatefulSets [Conformance]' + description: When a StatefulSet is created it MUST succeed. It MUST succeed when + listing StatefulSets via a label selector. It MUST succeed when patching a StatefulSet. + It MUST succeed when deleting the StatefulSet via deleteCollection. + release: v1.22 + file: test/e2e/apps/statefulset.go - testname: StatefulSet, Rolling Update with Partition codename: '[sig-apps] StatefulSet Basic StatefulSet functionality [StatefulSetBasic] should perform canary updates and phased rolling updates of template modifications diff --git a/test/e2e/apps/statefulset.go b/test/e2e/apps/statefulset.go index 2bbd7474d43..ae77d22709b 100644 --- a/test/e2e/apps/statefulset.go +++ b/test/e2e/apps/statefulset.go @@ -892,7 +892,15 @@ var _ = SIGDescribe("StatefulSet", func() { framework.ExpectEqual(*(ss.Spec.Replicas), int32(4), "statefulset should have 4 replicas") }) - ginkgo.It("should list, patch and delete a collection of StatefulSets", func() { + /* + Release: v1.22 + Testname: StatefulSet, list, patch and delete a collection of StatefulSets + Description: When a StatefulSet is created it MUST succeed. It + MUST succeed when listing StatefulSets via a label selector. It + MUST succeed when patching a StatefulSet. It MUST succeed when + deleting the StatefulSet via deleteCollection. + */ + framework.ConformanceIt("should list, patch and delete a collection of StatefulSets", func() { ssPatchReplicas := int32(2) ssPatchImage := imageutils.GetE2EImage(imageutils.Pause)