Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote Endpoints resource lifecycle test - +4 endpoint coverage #90939

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions test/conformance/testdata/conformance.yaml
Expand Up @@ -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]'
Expand Down
10 changes: 9 additions & 1 deletion test/e2e/network/service.go
Expand Up @@ -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{
Expand Down