mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Promote e2e job status test to Conformance
This commit is contained in:
parent
c6153a93d0
commit
c709baa9a0
9
test/conformance/testdata/conformance.yaml
vendored
9
test/conformance/testdata/conformance.yaml
vendored
@ -763,6 +763,15 @@
|
||||
pod. Modify the labels of one of the Job's Pods. The Job MUST release the Pod.
|
||||
release: v1.16
|
||||
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.
|
||||
codename: '[sig-apps] Job should create pods for an Indexed job with completion
|
||||
indexes and specified hostname [Conformance]'
|
||||
|
@ -440,7 +440,16 @@ var _ = SIGDescribe("Job", func() {
|
||||
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
|
||||
jClient := f.ClientSet.BatchV1().Jobs(ns)
|
||||
|
Loading…
Reference in New Issue
Block a user