mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 01:40:13 +00:00
Merge pull request #111522 from ii/promote-namespace-status-test
Promote NamespaceStatus endpoints test +3 Endpoints
This commit is contained in:
commit
d4c7542878
9
test/conformance/testdata/conformance.yaml
vendored
9
test/conformance/testdata/conformance.yaml
vendored
@ -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]'
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user