Merge pull request #90939 from ii/ii-promote-endpoint-resource-lifecycle-test

Promote Endpoints resource lifecycle test - +4 endpoint coverage
This commit is contained in:
Kubernetes Prow Robot 2020-07-28 16:31:47 -07:00 committed by GitHub
commit d2d8c63a87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -2812,7 +2812,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{