From 4efcb21af887c975ad949aab994f23653d319cf1 Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Wed, 15 Jan 2020 20:14:04 +0000 Subject: [PATCH 1/2] Promote: find Kuberntes Service in default Namespace --- test/conformance/testdata/conformance.txt | 1 + test/e2e/network/service.go | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.txt b/test/conformance/testdata/conformance.txt index f08d4450b4e..7b186b0d771 100644 --- a/test/conformance/testdata/conformance.txt +++ b/test/conformance/testdata/conformance.txt @@ -259,6 +259,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 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 find a service from listing all namespaces" 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/pods.go: "should be set on Pods with matching resource requests and limits for memory and cpu" diff --git a/test/e2e/network/service.go b/test/e2e/network/service.go index 4bcd5ff55ab..1e81a84edce 100644 --- a/test/e2e/network/service.go +++ b/test/e2e/network/service.go @@ -2636,7 +2636,12 @@ var _ = SIGDescribe("Services", func() { 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") svcs, _ := f.ClientSet.CoreV1().Services("").List(metav1.ListOptions{}) From 2e79da9139840b484f77dc65a0a32632499af48d Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Wed, 15 Jan 2020 21:23:07 +0000 Subject: [PATCH 2/2] Fix: formatting --- test/e2e/network/service.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/network/service.go b/test/e2e/network/service.go index 1e81a84edce..59437cdbf05 100644 --- a/test/e2e/network/service.go +++ b/test/e2e/network/service.go @@ -2637,9 +2637,9 @@ var _ = SIGDescribe("Services", 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. + 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")