Merge pull request #111522 from ii/promote-namespace-status-test

Promote NamespaceStatus endpoints test +3 Endpoints
This commit is contained in:
Kubernetes Prow Robot 2022-08-02 12:47:54 -07:00 committed by GitHub
commit d4c7542878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -384,6 +384,15 @@
MUST cause pods created by that RC to be orphaned.
release: v1.9
file: test/e2e/apimachinery/garbage_collector.go
- testname: Namespace, apply changes to a namespace status
codename: '[sig-api-machinery] Namespaces [Serial] should apply changes to a namespace
status [Conformance]'
description: Getting the current namespace status MUST succeed. The reported status
phase MUST be active. Given the patching of the namespace status, the fields MUST
equal the new values. Given the updating of the namespace status, the fields MUST
equal the new values.
release: v1.25
file: test/e2e/apimachinery/namespace.go
- testname: namespace-deletion-removes-pods
codename: '[sig-api-machinery] Namespaces [Serial] should ensure that all pods are
removed when a namespace is deleted [Conformance]'

View File

@ -287,7 +287,15 @@ var _ = SIGDescribe("Namespaces [Serial]", func() {
framework.ExpectEqual(namespace.ObjectMeta.Labels["testLabel"], "testValue", "namespace not patched")
})
ginkgo.It("should apply changes to a namespace status", func() {
/*
Release: v1.25
Testname: Namespace, apply changes to a namespace status
Description: Getting the current namespace status MUST succeed. The reported status
phase MUST be active. Given the patching of the namespace status, the fields MUST
equal the new values. Given the updating of the namespace status, the fields MUST
equal the new values.
*/
framework.ConformanceIt("should apply changes to a namespace status", func() {
ns := f.Namespace.Name
dc := f.DynamicClient
nsResource := v1.SchemeGroupVersion.WithResource("namespaces")