From 405e9a5172a8f149ac224597979e70e64a132616 Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Mon, 28 Jun 2021 11:04:30 +1200 Subject: [PATCH] Promote Deployment Status e2e test to Conformance --- test/conformance/testdata/conformance.yaml | 7 +++++++ test/e2e/apps/deployment.go | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 982702d0eba..be3e086e8ac 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -714,6 +714,13 @@ MUST succeed. It MUST succeed when deleting the Deployment. release: v1.20 file: test/e2e/apps/deployment.go +- testname: Deployment, status sub-resource + codename: '[sig-apps] Deployment should validate Deployment Status endpoints [Conformance]' + description: When a Deployment is created it MUST succeed. Attempt to read, update + and patch its status sub-resource; all mutating sub-resource operations MUST be + visible to subsequent reads. + release: v1.22 + file: test/e2e/apps/deployment.go - testname: 'PodDisruptionBudget: list and delete collection' codename: '[sig-apps] DisruptionController Listing PodDisruptionBudgets for all namespaces should list and delete a collection of PodDisruptionBudgets [Conformance]' diff --git a/test/e2e/apps/deployment.go b/test/e2e/apps/deployment.go index adffc77f8b8..24b8ba857db 100644 --- a/test/e2e/apps/deployment.go +++ b/test/e2e/apps/deployment.go @@ -485,7 +485,14 @@ var _ = SIGDescribe("Deployment", func() { framework.ExpectNoError(err, "failed to see %v event", watch.Deleted) }) - ginkgo.It("should validate Deployment Status endpoints", func() { + /* + Release: v1.22 + Testname: Deployment, status sub-resource + Description: When a Deployment is created it MUST succeed. + Attempt to read, update and patch its status sub-resource; all + mutating sub-resource operations MUST be visible to subsequent reads. + */ + framework.ConformanceIt("should validate Deployment Status endpoints", func() { dClient := c.AppsV1().Deployments(ns) dName := "test-deployment-" + utilrand.String(5) labelSelector := "e2e=testing"