Promote Namespace e2e test to Conformance

This commit is contained in:
Stephen Heywood 2022-10-31 09:48:28 +13:00
parent 526650fc13
commit cdfdf0f6ce
2 changed files with 17 additions and 1 deletions

View File

@ -384,6 +384,14 @@
MUST cause pods created by that RC to be orphaned. MUST cause pods created by that RC to be orphaned.
release: v1.9 release: v1.9
file: test/e2e/apimachinery/garbage_collector.go file: test/e2e/apimachinery/garbage_collector.go
- testname: Namespace, apply finalizer to a namespace
codename: '[sig-api-machinery] Namespaces [Serial] should apply a finalizer to a
Namespace [Conformance]'
description: Attempt to create a Namespace which MUST be succeed. Updating the namespace
with a fake finalizer MUST succeed. The fake finalizer MUST be found. Removing
the fake finalizer from the namespace MUST succeed and MUST NOT be found.
release: v1.26
file: test/e2e/apimachinery/namespace.go
- testname: Namespace, apply update to a namespace - testname: Namespace, apply update to a namespace
codename: '[sig-api-machinery] Namespaces [Serial] should apply an update to a Namespace codename: '[sig-api-machinery] Namespaces [Serial] should apply an update to a Namespace
[Conformance]' [Conformance]'

View File

@ -383,7 +383,15 @@ var _ = SIGDescribe("Namespaces [Serial]", func() {
framework.Logf("Namespace %q now has labels, %#v", ns, updatedNamespace.Labels) framework.Logf("Namespace %q now has labels, %#v", ns, updatedNamespace.Labels)
}) })
ginkgo.It("should apply a finalizer to a Namespace", func() { /*
Release: v1.26
Testname: Namespace, apply finalizer to a namespace
Description: Attempt to create a Namespace which MUST be succeed.
Updating the namespace with a fake finalizer MUST succeed. The
fake finalizer MUST be found. Removing the fake finalizer from
the namespace MUST succeed and MUST NOT be found.
*/
framework.ConformanceIt("should apply a finalizer to a Namespace", func() {
fakeFinalizer := v1.FinalizerName("e2e.example.com/fakeFinalizer") fakeFinalizer := v1.FinalizerName("e2e.example.com/fakeFinalizer")
var updatedNamespace *v1.Namespace var updatedNamespace *v1.Namespace