mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
Promote Namespace e2e test to Conformance
This commit is contained in:
parent
526650fc13
commit
cdfdf0f6ce
8
test/conformance/testdata/conformance.yaml
vendored
8
test/conformance/testdata/conformance.yaml
vendored
@ -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]'
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user