Merge pull request #109267 from ii/promote-job-status-test

Promote Read, Replace, Patch BatchV1NamespacedJobStatus test - +3 endpoints
This commit is contained in:
Kubernetes Prow Robot 2022-04-05 08:23:49 -07:00 committed by GitHub
commit c13d3369d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View File

@ -763,6 +763,15 @@
pod. Modify the labels of one of the Job's Pods. The Job MUST release the Pod. pod. Modify the labels of one of the Job's Pods. The Job MUST release the Pod.
release: v1.16 release: v1.16
file: test/e2e/apps/job.go file: test/e2e/apps/job.go
- testname: Jobs, apply changes to status
codename: '[sig-apps] Job should apply changes to a job status [Conformance]'
description: Attempt to create a running Job which MUST succeed. Attempt to patch
the Job status to include a new start time which MUST succeed. An annotation for
the job that was patched MUST be found. Attempt to replace the job status with
a new start time which MUST succeed. Attempt to read its status sub-resource which
MUST succeed
release: v1.24
file: test/e2e/apps/job.go
- testname: Ensure Pods of an Indexed Job get a unique index. - testname: Ensure Pods of an Indexed Job get a unique index.
codename: '[sig-apps] Job should create pods for an Indexed job with completion codename: '[sig-apps] Job should create pods for an Indexed job with completion
indexes and specified hostname [Conformance]' indexes and specified hostname [Conformance]'

View File

@ -440,7 +440,16 @@ var _ = SIGDescribe("Job", func() {
framework.ExpectEqual(successes, largeCompletions, "expected %d successful job pods, but got %d", largeCompletions, successes) framework.ExpectEqual(successes, largeCompletions, "expected %d successful job pods, but got %d", largeCompletions, successes)
}) })
ginkgo.It("should apply changes to a job status", func() { /*
Release: v1.24
Testname: Jobs, apply changes to status
Description: Attempt to create a running Job which MUST succeed.
Attempt to patch the Job status to include a new start time which
MUST succeed. An annotation for the job that was patched MUST be found.
Attempt to replace the job status with a new start time which MUST
succeed. Attempt to read its status sub-resource which MUST succeed
*/
framework.ConformanceIt("should apply changes to a job status", func() {
ns := f.Namespace.Name ns := f.Namespace.Name
jClient := f.ClientSet.BatchV1().Jobs(ns) jClient := f.ClientSet.BatchV1().Jobs(ns)