From 236ad47783867a1d46e3600a474db5a3988694f3 Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Tue, 14 Jul 2020 02:22:07 +0000 Subject: [PATCH] Promote server version e2e test to conformance --- test/conformance/testdata/conformance.yaml | 6 ++++++ test/e2e/apimachinery/server_version.go | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 5e720bc8235..f070e8e854b 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -1101,6 +1101,12 @@ events match. Events are produced from writes on a background goroutine. release: v1.15 file: test/e2e/apimachinery/watch.go +- testname: Confirm a server version + codename: '[sig-api-machinery] server version should find the server version [Conformance]' + description: Ensure that an API server version can be retrieved. Both the major + and minor versions MUST only be an integer. + release: v1.19 + file: test/e2e/apimachinery/server_version.go - testname: DaemonSet-FailedPodCreation codename: '[sig-apps] Daemon set [Serial] should retry creating failed daemon pods [Conformance]' diff --git a/test/e2e/apimachinery/server_version.go b/test/e2e/apimachinery/server_version.go index 8327b564619..d7f7f7098bf 100644 --- a/test/e2e/apimachinery/server_version.go +++ b/test/e2e/apimachinery/server_version.go @@ -26,7 +26,14 @@ import ( var _ = SIGDescribe("server version", func() { f := framework.NewDefaultFramework("server-version") - ginkgo.It("should find the server version", func() { + + /* + Release : v1.19 + Testname: Confirm a server version + Description: Ensure that an API server version can be retrieved. + Both the major and minor versions MUST only be an integer. + */ + framework.ConformanceIt("should find the server version", func() { ginkgo.By("Request ServerVersion")