From af1f64bee812d330caeca82d546a58ec4e47d1cc Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Tue, 16 Mar 2021 10:07:05 +1300 Subject: [PATCH] Promote ServiceStatus lifecycle e2e test to Conformance --- test/conformance/testdata/conformance.yaml | 8 ++++++++ test/e2e/network/service.go | 11 ++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 309617e1b59..da0c056f57d 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -1788,6 +1788,14 @@ [LinuxOnly]: Windows does not support session affinity.' release: v1.19 file: test/e2e/network/service.go +- testname: Service, complete ServiceStatus lifecycle + codename: '[sig-network] Services should complete a service status lifecycle [Conformance]' + description: Create a service, the service MUST exist. When retrieving /status the + action MUST be validated. When patching /status the action MUST be validated. + When updating /status the action MUST be validated. When patching a service the + action MUST be validated. + release: v1.21 + file: test/e2e/network/service.go - testname: Find Kubernetes Service in default Namespace codename: '[sig-network] Services should find a service from listing all namespaces [Conformance]' diff --git a/test/e2e/network/service.go b/test/e2e/network/service.go index 7040dbca8dc..b2025305b45 100644 --- a/test/e2e/network/service.go +++ b/test/e2e/network/service.go @@ -2205,7 +2205,16 @@ var _ = common.SIGDescribe("Services", func() { framework.ExpectError(err, "should not be able to fetch Endpoint") }) - ginkgo.It("should complete a service status lifecycle", func() { + /* + Release: v1.21 + Testname: Service, complete ServiceStatus lifecycle + Description: Create a service, the service MUST exist. + When retrieving /status the action MUST be validated. + When patching /status the action MUST be validated. + When updating /status the action MUST be validated. + When patching a service the action MUST be validated. + */ + framework.ConformanceIt("should complete a service status lifecycle", func() { ns := f.Namespace.Name svcResource := schema.GroupVersionResource{Group: "", Version: "v1", Resource: "services"}