From 974f4b8ee13452d53d50a1bcdbe58510c5f22e87 Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Thu, 8 Sep 2022 11:44:05 +1200 Subject: [PATCH] Promote Namespace e2e test to Conformance --- test/conformance/testdata/conformance.yaml | 7 +++++++ test/e2e/apimachinery/namespace.go | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 6f3d6ac31c7..decadcb358c 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -384,6 +384,13 @@ MUST cause pods created by that RC to be orphaned. release: v1.9 file: test/e2e/apimachinery/garbage_collector.go +- testname: Namespace, apply update to a namespace + codename: '[sig-api-machinery] Namespaces [Serial] should apply an update to a Namespace + [Conformance]' + description: When updating the namespace it MUST succeed and the field MUST equal + the new value. + release: v1.26 + file: test/e2e/apimachinery/namespace.go - testname: Namespace, apply changes to a namespace status codename: '[sig-api-machinery] Namespaces [Serial] should apply changes to a namespace status [Conformance]' diff --git a/test/e2e/apimachinery/namespace.go b/test/e2e/apimachinery/namespace.go index 6c2c6894616..586ee5948b8 100644 --- a/test/e2e/apimachinery/namespace.go +++ b/test/e2e/apimachinery/namespace.go @@ -356,7 +356,13 @@ var _ = SIGDescribe("Namespaces [Serial]", func() { framework.Logf("Status.Condition: %#v", statusUpdated.Status.Conditions[len(statusUpdated.Status.Conditions)-1]) }) - ginkgo.It("should apply an update to a Namespace", func() { + /* + Release: v1.26 + Testname: Namespace, apply update to a namespace + Description: When updating the namespace it MUST + succeed and the field MUST equal the new value. + */ + framework.ConformanceIt("should apply an update to a Namespace", func() { var err error var updatedNamespace *v1.Namespace ns := f.Namespace.Name