Promote Endpoint resource lifecycle test

This commit is contained in:
Caleb Woodbine 2020-07-27 09:11:42 +12:00
parent 9a20f30745
commit e311df70e1
2 changed files with 18 additions and 1 deletions

View File

@ -1852,6 +1852,15 @@
Pod and the service must now have empty set of endpoints.
release: v1.9
file: test/e2e/network/service.go
- testname: Endpoint resource lifecycle
codename: '[sig-network] Services should test the lifecycle of an Endpoint [Conformance]'
description: Create an endpoint, the endpoint MUST exist. The endpoint is updated
with a new label, a check after the update MUST find the changes. The endpoint
is then patched with a new IPv4 address and port, a check after the patch MUST
the changes. The endpoint is deleted by it's label, a watch listens for the deleted
watch event.
release: v1.19
file: test/e2e/network/service.go
- testname: ConfigMap, from environment field
codename: '[sig-node] ConfigMap should be consumable via environment variable [NodeConformance]
[Conformance]'

View File

@ -2770,7 +2770,15 @@ var _ = SIGDescribe("Services", func() {
framework.ExpectEqual(foundSvc, true, "could not find service 'kubernetes' in service list in all namespaces")
})
ginkgo.It("should test the lifecycle of an Endpoint", func() {
/*
Release : v1.19
Testname: Endpoint resource lifecycle
Description: Create an endpoint, the endpoint MUST exist.
The endpoint is updated with a new label, a check after the update MUST find the changes.
The endpoint is then patched with a new IPv4 address and port, a check after the patch MUST the changes.
The endpoint is deleted by it's label, a watch listens for the deleted watch event.
*/
framework.ConformanceIt("should test the lifecycle of an Endpoint", func() {
testNamespaceName := f.Namespace.Name
testEndpointName := "testservice"
testEndpoints := v1.Endpoints{