mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
Promote namespace status e2e test to Conformance
This commit is contained in:
parent
e5a649d4f6
commit
c5517109b9
9
test/conformance/testdata/conformance.yaml
vendored
9
test/conformance/testdata/conformance.yaml
vendored
@ -382,6 +382,15 @@
|
|||||||
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 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
|
- testname: namespace-deletion-removes-pods
|
||||||
codename: '[sig-api-machinery] Namespaces [Serial] should ensure that all pods are
|
codename: '[sig-api-machinery] Namespaces [Serial] should ensure that all pods are
|
||||||
removed when a namespace is deleted [Conformance]'
|
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")
|
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
|
ns := f.Namespace.Name
|
||||||
dc := f.DynamicClient
|
dc := f.DynamicClient
|
||||||
nsResource := v1.SchemeGroupVersion.WithResource("namespaces")
|
nsResource := v1.SchemeGroupVersion.WithResource("namespaces")
|
||||||
|
Loading…
Reference in New Issue
Block a user