mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #87260 from ii/promote-test-for-kubernetes-service-in-default-namespace
Promote: find Kubernetes Service in default Namespace
This commit is contained in:
commit
426b353890
1
test/conformance/testdata/conformance.txt
vendored
1
test/conformance/testdata/conformance.txt
vendored
@ -261,6 +261,7 @@ test/e2e/network/service.go: "should be able to change the type from ExternalNam
|
|||||||
test/e2e/network/service.go: "should be able to change the type from ExternalName to NodePort"
|
test/e2e/network/service.go: "should be able to change the type from ExternalName to NodePort"
|
||||||
test/e2e/network/service.go: "should be able to change the type from ClusterIP to ExternalName"
|
test/e2e/network/service.go: "should be able to change the type from ClusterIP to ExternalName"
|
||||||
test/e2e/network/service.go: "should be able to change the type from NodePort to ExternalName"
|
test/e2e/network/service.go: "should be able to change the type from NodePort to ExternalName"
|
||||||
|
test/e2e/network/service.go: "should find a service from listing all namespaces"
|
||||||
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 set on Pods with matching resource requests and limits for memory and cpu"
|
test/e2e/node/pods.go: "should be set on Pods with matching resource requests and limits for memory and cpu"
|
||||||
|
@ -2639,7 +2639,12 @@ var _ = SIGDescribe("Services", func() {
|
|||||||
e2eservice.WaitForServiceUpdatedWithFinalizer(cs, svc.Namespace, svc.Name, true)
|
e2eservice.WaitForServiceUpdatedWithFinalizer(cs, svc.Namespace, svc.Name, true)
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should find a service from listing all namespaces", func() {
|
/*
|
||||||
|
Release : v1.18
|
||||||
|
Testname: Find Kubernetes Service in default Namespace
|
||||||
|
Description: List all Services in all Namespaces, response MUST include a Service named Kubernetes with the Namespace of default.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should find a service from listing all namespaces", func() {
|
||||||
ginkgo.By("fetching services")
|
ginkgo.By("fetching services")
|
||||||
svcs, _ := f.ClientSet.CoreV1().Services("").List(metav1.ListOptions{})
|
svcs, _ := f.ClientSet.CoreV1().Services("").List(metav1.ListOptions{})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user