Promote NodePort service creation e2e test to conformance

This commit is contained in:
John Belamaric 2019-07-26 11:00:24 -07:00
parent 2c2ca27bfc
commit 60a51ce020
2 changed files with 9 additions and 4 deletions

View File

@ -208,6 +208,7 @@ test/e2e/network/proxy.go: "should proxy through a service and a pod"
test/e2e/network/service.go: "should provide secure master service" test/e2e/network/service.go: "should provide secure master service"
test/e2e/network/service.go: "should serve a basic endpoint from pods" test/e2e/network/service.go: "should serve a basic endpoint from pods"
test/e2e/network/service.go: "should serve multiport endpoints from pods" test/e2e/network/service.go: "should serve multiport endpoints from pods"
test/e2e/network/service.go: "should be able to create a functioning NodePort service"
test/e2e/network/service_latency.go: "should not be very high" test/e2e/network/service_latency.go: "should not be very high"
test/e2e/node/events.go: "should be sent by kubelets and the scheduler about pods scheduling and running" test/e2e/node/events.go: "should be sent by kubelets and the scheduler about pods scheduling and running"
test/e2e/node/pods.go: "should be submitted and removed" test/e2e/node/pods.go: "should be submitted and removed"

View File

@ -507,10 +507,14 @@ var _ = SIGDescribe("Services", func() {
framework.ExpectNoError(e2eservice.VerifyServeHostnameServiceUp(cs, ns, host, podNames2, svc2IP, servicePort)) framework.ExpectNoError(e2eservice.VerifyServeHostnameServiceUp(cs, ns, host, podNames2, svc2IP, servicePort))
}) })
// TODO: Run this test against the userspace proxy and nodes /*
// configured with a default deny firewall to validate that the Release : v1.16
// proxy whitelists NodePort traffic. Testname: Service, NodePort Service
ginkgo.It("should be able to create a functioning NodePort service", func() { Description: Create a TCP NodePort service, and test reachability from a client Pod.
The client Pod MUST be able to access the NodePort service by service name and cluster
IP on the service port, and on nodes' internal and external IPs on the NodePort.
*/
framework.ConformanceIt("should be able to create a functioning NodePort service", func() {
serviceName := "nodeport-test" serviceName := "nodeport-test"
ns := f.Namespace.Name ns := f.Namespace.Name