From 675be94024f50952e3a6bccc8ed8f8bc6d939920 Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Wed, 10 Nov 2021 10:19:46 +1300 Subject: [PATCH] Promote DeleteCollection service e2e test to conformance --- test/conformance/testdata/conformance.yaml | 8 ++++++++ test/e2e/network/service.go | 11 ++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 8c77c17b3c7..813a70feecb 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -1496,6 +1496,14 @@ action MUST be validated. release: v1.21 file: test/e2e/network/service.go +- testname: Service, deletes a collection of services + codename: '[sig-network] Services should delete a collection of services [Conformance]' + description: Create three services with the required labels and ports. It MUST locate + three services in the test namespace. It MUST succeed at deleting a collection + of services via a label selector. It MUST locate only one service after deleting + the service collection. + release: v1.23 + file: test/e2e/network/service.go - testname: Find Kubernetes Service in default Namespace codename: '[sig-network] Services should find a service from listing all namespaces [Conformance]' diff --git a/test/e2e/network/service.go b/test/e2e/network/service.go index 59dd0b25101..c35293588a5 100644 --- a/test/e2e/network/service.go +++ b/test/e2e/network/service.go @@ -2731,7 +2731,16 @@ var _ = common.SIGDescribe("Services", func() { framework.Logf("Service %s deleted", testSvcName) }) - ginkgo.It("should delete a collection of services", func() { + /* + Release: v1.23 + Testname: Service, deletes a collection of services + Description: Create three services with the required + labels and ports. It MUST locate three services in the + test namespace. It MUST succeed at deleting a collection + of services via a label selector. It MUST locate only + one service after deleting the service collection. + */ + framework.ConformanceIt("should delete a collection of services", func() { ns := f.Namespace.Name svcClient := f.ClientSet.CoreV1().Services(ns)