Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote: Namespace patch test #87256

Merged
merged 2 commits into from Jan 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions test/conformance/testdata/conformance.txt
Expand Up @@ -25,6 +25,7 @@ test/e2e/apimachinery/garbage_collector.go: "should not delete dependents that h
test/e2e/apimachinery/garbage_collector.go: "should not be blocked by dependency circle"
test/e2e/apimachinery/namespace.go: "should ensure that all pods are removed when a namespace is deleted"
test/e2e/apimachinery/namespace.go: "should ensure that all services are removed when a namespace is deleted"
test/e2e/apimachinery/namespace.go: "should patch a Namespace"
test/e2e/apimachinery/resource_quota.go: "should create a ResourceQuota and ensure its status is promptly calculated."
test/e2e/apimachinery/resource_quota.go: "should create a ResourceQuota and capture the life of a service."
test/e2e/apimachinery/resource_quota.go: "should create a ResourceQuota and capture the life of a secret."
Expand Down
9 changes: 8 additions & 1 deletion test/e2e/apimachinery/namespace.go
Expand Up @@ -249,7 +249,14 @@ var _ = SIGDescribe("Namespaces [Serial]", func() {
ginkgo.It("should always delete fast (ALL of 100 namespaces in 150 seconds) [Feature:ComprehensiveNamespaceDraining]",
func() { extinguish(f, 100, 0, 150) })

ginkgo.It("should patch a Namespace", func() {
/*
Release : v1.18
Testname: Namespace patching
Description: A Namespace is created.
The Namespace is patched.
The Namespace and MUST now include the new Label.
*/
framework.ConformanceIt("should patch a Namespace", func() {
ginkgo.By("creating a Namespace")
namespaceName := "nspatchtest-" + string(uuid.NewUUID())
ns, err := f.CreateNamespace(namespaceName, nil)
Expand Down