From 44cd9d3cfe74ceb5f61c0129957637ebf9dfb507 Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Tue, 14 Jul 2020 02:56:54 +0000 Subject: [PATCH] Promote delete collection pods e2e test to conformance --- test/conformance/testdata/conformance.yaml | 7 +++++++ test/e2e/common/pods.go | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 5e720bc8235..d348d00312f 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -259,6 +259,13 @@ and FOOSERVICE_PORT_8765_TCP_ADDR that are populated with proper values. release: v1.9 file: test/e2e/common/pods.go +- testname: Pods, delete a collection + codename: '[k8s.io] Pods should delete a collection of pods [Conformance]' + description: A set of pods is created with a label selector which MUST be found + when listed. The set of pods is deleted and MUST NOT show up when listed by its + label selector. + release: v1.19 + file: test/e2e/common/pods.go - testname: Pods, assigned hostip codename: '[k8s.io] Pods should get a host IP [NodeConformance] [Conformance]' description: Create a Pod. Pod status MUST return successfully and contains a valid diff --git a/test/e2e/common/pods.go b/test/e2e/common/pods.go index 279598b7464..9f2b03e81e9 100644 --- a/test/e2e/common/pods.go +++ b/test/e2e/common/pods.go @@ -832,7 +832,13 @@ var _ = framework.KubeDescribe("Pods", func() { }) - ginkgo.It("should delete a collection of pods", func() { + /* + Release : v1.19 + Testname: Pods, delete a collection + Description: A set of pods is created with a label selector which MUST be found when listed. + The set of pods is deleted and MUST NOT show up when listed by its label selector. + */ + framework.ConformanceIt("should delete a collection of pods", func() { podTestNames := []string{"test-pod-1", "test-pod-2", "test-pod-3"} ginkgo.By("Create set of pods")