Merge pull request #111449 from ii/promote-controller-revision-test

Promote ControllerRevisionLifecycleTest +7 Endpoints
This commit is contained in:
Kubernetes Prow Robot 2022-08-01 15:05:00 -07:00 committed by GitHub
commit 701fed4a5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 1 deletions

View File

@ -596,6 +596,22 @@
and minor versions MUST only be an integer. and minor versions MUST only be an integer.
release: v1.19 release: v1.19
file: test/e2e/apimachinery/server_version.go file: test/e2e/apimachinery/server_version.go
- testname: ControllerRevision, resource lifecycle
codename: '[sig-apps] ControllerRevision [Serial] should manage the lifecycle of
a ControllerRevision [Conformance]'
description: Creating a DaemonSet MUST succeed. Listing all ControllerRevisions
with a label selector MUST find only one. After patching the ControllerRevision
with a new label, the label MUST be found. Creating a new ControllerRevision for
the DaemonSet MUST succeed. Listing the ControllerRevisions by label selector
MUST find only two. Deleting a ControllerRevision MUST succeed. Listing the ControllerRevisions
by label selector MUST find only one. After updating the ControllerRevision with
a new label, the label MUST be found. Patching the DaemonSet MUST succeed. Listing
the ControllerRevisions by label selector MUST find only two. Deleting a collection
of ControllerRevision via a label selector MUST succeed. Listing the ControllerRevisions
by label selector MUST find only one. The current ControllerRevision revision
MUST be 3.
release: v1.25
file: test/e2e/apps/controller_revision.go
- testname: CronJob Suspend - testname: CronJob Suspend
codename: '[sig-apps] CronJob should not schedule jobs when suspended [Slow] [Conformance]' codename: '[sig-apps] CronJob should not schedule jobs when suspended [Slow] [Conformance]'
description: CronJob MUST support suspension, which suppresses creation of new jobs. description: CronJob MUST support suspension, which suppresses creation of new jobs.

View File

@ -104,7 +104,24 @@ var _ = SIGDescribe("ControllerRevision [Serial]", func() {
framework.ExpectNoError(err) framework.ExpectNoError(err)
}) })
ginkgo.It("should manage the lifecycle of a ControllerRevision", func() { /*
Release: v1.25
Testname: ControllerRevision, resource lifecycle
Description: Creating a DaemonSet MUST succeed. Listing all
ControllerRevisions with a label selector MUST find only one.
After patching the ControllerRevision with a new label, the label
MUST be found. Creating a new ControllerRevision for the DaemonSet
MUST succeed. Listing the ControllerRevisions by label selector
MUST find only two. Deleting a ControllerRevision MUST succeed.
Listing the ControllerRevisions by label selector MUST find only
one. After updating the ControllerRevision with a new label, the
label MUST be found. Patching the DaemonSet MUST succeed. Listing the
ControllerRevisions by label selector MUST find only two. Deleting
a collection of ControllerRevision via a label selector MUST succeed.
Listing the ControllerRevisions by label selector MUST find only one.
The current ControllerRevision revision MUST be 3.
*/
framework.ConformanceIt("should manage the lifecycle of a ControllerRevision", func() {
csAppsV1 := f.ClientSet.AppsV1() csAppsV1 := f.ClientSet.AppsV1()
dsLabel := map[string]string{"daemonset-name": dsName} dsLabel := map[string]string{"daemonset-name": dsName}