Merge pull request #120069 from aojea/service_conformance
promote to conformance Service multiprotocol tests
This commit is contained in:
10
test/conformance/testdata/conformance.yaml
vendored
10
test/conformance/testdata/conformance.yaml
vendored
@@ -1745,6 +1745,16 @@
|
|||||||
pods are deleted the endpoints from the service MUST be empty.
|
pods are deleted the endpoints from the service MUST be empty.
|
||||||
release: v1.9
|
release: v1.9
|
||||||
file: test/e2e/network/service.go
|
file: test/e2e/network/service.go
|
||||||
|
- testname: Service, should serve endpoints on same port and different protocols.
|
||||||
|
codename: '[sig-network] Services should serve endpoints on same port and different
|
||||||
|
protocols [Conformance]'
|
||||||
|
description: Create one service with two ports, same port number and different protocol
|
||||||
|
TCP and UDP. It MUST be able to forward traffic to both ports. Update the Service
|
||||||
|
to expose only the TCP port, it MUST succeed to connect to the TCP port and fail
|
||||||
|
to connect to the UDP port. Update the Service to expose only the UDP port, it
|
||||||
|
MUST succeed to connect to the UDP port and fail to connect to the TCP port.
|
||||||
|
release: v1.29
|
||||||
|
file: test/e2e/network/service.go
|
||||||
- testname: Service, endpoints with multiple ports
|
- testname: Service, endpoints with multiple ports
|
||||||
codename: '[sig-network] Services should serve multiport endpoints from pods [Conformance]'
|
codename: '[sig-network] Services should serve multiport endpoints from pods [Conformance]'
|
||||||
description: Create a service with two ports but no Pods are added to the service
|
description: Create a service with two ports but no Pods are added to the service
|
||||||
|
@@ -3624,7 +3624,17 @@ var _ = common.SIGDescribe("Services", func() {
|
|||||||
framework.Logf("Collection of services has been deleted")
|
framework.Logf("Collection of services has been deleted")
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should serve endpoints on same port and different protocols", func(ctx context.Context) {
|
/*
|
||||||
|
Release: v1.29
|
||||||
|
Testname: Service, should serve endpoints on same port and different protocols.
|
||||||
|
Description: Create one service with two ports, same port number and different protocol TCP and UDP.
|
||||||
|
It MUST be able to forward traffic to both ports.
|
||||||
|
Update the Service to expose only the TCP port, it MUST succeed to connect to the TCP port and fail
|
||||||
|
to connect to the UDP port.
|
||||||
|
Update the Service to expose only the UDP port, it MUST succeed to connect to the UDP port and fail
|
||||||
|
to connect to the TCP port.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should serve endpoints on same port and different protocols", func(ctx context.Context) {
|
||||||
serviceName := "multiprotocol-test"
|
serviceName := "multiprotocol-test"
|
||||||
testLabels := map[string]string{"app": "multiport"}
|
testLabels := map[string]string{"app": "multiport"}
|
||||||
ns := f.Namespace.Name
|
ns := f.Namespace.Name
|
||||||
|
Reference in New Issue
Block a user