Merge pull request #80550 from spiffxp/promote-jobs-complete-after-restart

Promote job completion after failure e2e test to Conformance
This commit is contained in:
Kubernetes Prow Robot 2019-07-25 22:35:58 -07:00 committed by GitHub
commit 9e4b126e18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -25,6 +25,7 @@ test/e2e/apps/deployment.go: "RecreateDeployment should delete old pods and crea
test/e2e/apps/deployment.go: "deployment should delete old replica sets"
test/e2e/apps/deployment.go: "deployment should support rollover"
test/e2e/apps/deployment.go: "deployment should support proportional scaling"
test/e2e/apps/job.go: "should run a job to completion when tasks sometimes fail and are locally restarted"
test/e2e/apps/job.go: "should delete a job"
test/e2e/apps/job.go: "should adopt matching orphans and release non-matching pods"
test/e2e/apps/rc.go: "should serve a basic image on each replica with a public image"

View File

@ -83,8 +83,13 @@ var _ = SIGDescribe("Job", func() {
framework.ExpectNoError(err, "failed to get PodList for job %s in namespace: %s", job.Name, f.Namespace.Name)
})
// Pods sometimes fail, but eventually succeed.
ginkgo.It("should run a job to completion when tasks sometimes fail and are locally restarted", func() {
/*
Release : v1.16
Testname: Jobs, completion after task failure
Description: Explicitly cause the tasks to fail once initially. After restarting, the Job MUST
execute to completion.
*/
framework.ConformanceIt("should run a job to completion when tasks sometimes fail and are locally restarted", func() {
ginkgo.By("Creating a job")
// One failure, then a success, local restarts.
// We can't use the random failure approach used by the