Increase backoffLimit for job that we expect to fail several times

pull/6/head
Maciej Szulik 2017-10-03 13:45:41 +02:00
parent aa7d9b1da9
commit 9991a88870
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ var _ = SIGDescribe("Job", func() {
// Worst case analysis: 15 failures, each taking 1 minute to
// run due to some slowness, 1 in 2^15 chance of happening,
// causing test flake. Should be very rare.
job := framework.NewTestJob("randomlySucceedOrFail", "rand-non-local", v1.RestartPolicyNever, parallelism, completions, nil, backoffLimit)
job := framework.NewTestJob("randomlySucceedOrFail", "rand-non-local", v1.RestartPolicyNever, parallelism, completions, nil, 999)
job, err := framework.CreateJob(f.ClientSet, f.Namespace.Name, job)
Expect(err).NotTo(HaveOccurred())