mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
Promote e2e job lifecycle test to Conformance
This commit is contained in:
parent
a750d8054a
commit
18d33db623
10
test/conformance/testdata/conformance.yaml
vendored
10
test/conformance/testdata/conformance.yaml
vendored
@ -785,6 +785,16 @@
|
||||
and delete the job. Job MUST be deleted successfully.
|
||||
release: v1.15
|
||||
file: test/e2e/apps/job.go
|
||||
- testname: Jobs, manage lifecycle
|
||||
codename: '[sig-apps] Job should manage the lifecycle of a job [Conformance]'
|
||||
description: Attempt to create a suspended Job which MUST succeed. Attempt to patch
|
||||
the Job to include a new label which MUST succeed. The label MUST be found. Attempt
|
||||
to replace the Job to include a new annotation which MUST succeed. The annotation
|
||||
MUST be found. Attempt to list all namespaces with a label selector which MUST
|
||||
succeed. One list MUST be found. It MUST succeed at deleting a collection of jobs
|
||||
via a label selector.
|
||||
release: v1.25
|
||||
file: test/e2e/apps/job.go
|
||||
- testname: Jobs, completion after task failure
|
||||
codename: '[sig-apps] Job should run a job to completion when tasks sometimes fail
|
||||
and are locally restarted [Conformance]'
|
||||
|
@ -518,6 +518,8 @@ var _ = SIGDescribe("Job", func() {
|
||||
})
|
||||
|
||||
/*
|
||||
Release: v1.25
|
||||
Testname: Jobs, manage lifecycle
|
||||
Description: Attempt to create a suspended Job which MUST succeed.
|
||||
Attempt to patch the Job to include a new label which MUST succeed.
|
||||
The label MUST be found. Attempt to replace the Job to include a
|
||||
@ -526,7 +528,7 @@ var _ = SIGDescribe("Job", func() {
|
||||
succeed. One list MUST be found. It MUST succeed at deleting a
|
||||
collection of jobs via a label selector.
|
||||
*/
|
||||
ginkgo.It("should manage the lifecycle of a job", func() {
|
||||
framework.ConformanceIt("should manage the lifecycle of a job", func() {
|
||||
jobName := "e2e-" + utilrand.String(5)
|
||||
label := map[string]string{"e2e-job-label": jobName}
|
||||
labelSelector := labels.SelectorFromSet(label).String()
|
||||
|
Loading…
Reference in New Issue
Block a user