mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
Merge pull request #111449 from ii/promote-controller-revision-test
Promote ControllerRevisionLifecycleTest +7 Endpoints
This commit is contained in:
commit
701fed4a5a
16
test/conformance/testdata/conformance.yaml
vendored
16
test/conformance/testdata/conformance.yaml
vendored
@ -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.
|
||||||
|
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user