Promote DeleteCollection service e2e test to conformance

This commit is contained in:
Stephen Heywood 2021-11-10 10:19:46 +13:00
parent e759c32129
commit 675be94024
2 changed files with 18 additions and 1 deletions

View File

@ -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]'

View File

@ -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)