Promote e2e job lifecycle test to Conformance

This commit is contained in:
Stephen Heywood 2022-04-19 09:35:27 +12:00
parent a750d8054a
commit 18d33db623
2 changed files with 13 additions and 1 deletions

View File

@ -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]'

View File

@ -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()