From c288ebe53cea4cb66875e8edd4d0d93360b6fc75 Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Fri, 8 Jul 2022 11:51:58 +1200 Subject: [PATCH] Promote PodStatus e2e test to Conformance --- test/conformance/testdata/conformance.yaml | 7 +++++++ test/e2e/common/node/pods.go | 10 +++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index db7e5cf97eb..bab0afcbac8 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -2021,6 +2021,13 @@ IP address. release: v1.9 file: test/e2e/common/node/pods.go +- testname: Pods, patching status + codename: '[sig-node] Pods should patch a pod status [Conformance]' + description: A pod is created which MUST succeed and be found running. The pod status + when patched MUST succeed. Given the patching of the pod status, the fields MUST + equal the new values. + release: v1.25 + file: test/e2e/common/node/pods.go - testname: Pods, completes the lifecycle of a Pod and the PodStatus codename: '[sig-node] Pods should run through the lifecycle of Pods and PodStatus [Conformance]' diff --git a/test/e2e/common/node/pods.go b/test/e2e/common/node/pods.go index dccf5066ac4..a2b46f94dc9 100644 --- a/test/e2e/common/node/pods.go +++ b/test/e2e/common/node/pods.go @@ -1071,7 +1071,15 @@ var _ = SIGDescribe("Pods", func() { } }) - ginkgo.It("should patch a pod status", func() { + /* + Release: v1.25 + Testname: Pods, patching status + Description: A pod is created which MUST succeed + and be found running. The pod status when patched + MUST succeed. Given the patching of the pod status, + the fields MUST equal the new values. + */ + framework.ConformanceIt("should patch a pod status", func() { ns := f.Namespace.Name podClient := f.ClientSet.CoreV1().Pods(ns) podName := "pod-" + utilrand.String(5)