mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
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:
commit
d2d8c63a87
9
test/conformance/testdata/conformance.yaml
vendored
9
test/conformance/testdata/conformance.yaml
vendored
@ -1852,6 +1852,15 @@
|
|||||||
Pod and the service must now have empty set of endpoints.
|
Pod and the service must now have empty set of endpoints.
|
||||||
release: v1.9
|
release: v1.9
|
||||||
file: test/e2e/network/service.go
|
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
|
- testname: ConfigMap, from environment field
|
||||||
codename: '[sig-node] ConfigMap should be consumable via environment variable [NodeConformance]
|
codename: '[sig-node] ConfigMap should be consumable via environment variable [NodeConformance]
|
||||||
[Conformance]'
|
[Conformance]'
|
||||||
|
@ -2812,7 +2812,15 @@ var _ = SIGDescribe("Services", func() {
|
|||||||
framework.ExpectEqual(foundSvc, true, "could not find service 'kubernetes' in service list in all namespaces")
|
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
|
testNamespaceName := f.Namespace.Name
|
||||||
testEndpointName := "testservice"
|
testEndpointName := "testservice"
|
||||||
testEndpoints := v1.Endpoints{
|
testEndpoints := v1.Endpoints{
|
||||||
|
Loading…
Reference in New Issue
Block a user