Increase the timeout when waiting for the job to be gone

This commit is contained in:
Maciej Szulik 2018-05-28 15:46:18 +02:00
parent 4da73a5f3d
commit a82d11bbba
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4

View File

@ -1545,7 +1545,7 @@ metadata:
Expect(runOutput).To(ContainSubstring("abcd1234")) Expect(runOutput).To(ContainSubstring("abcd1234"))
Expect(runOutput).To(ContainSubstring("stdin closed")) Expect(runOutput).To(ContainSubstring("stdin closed"))
err := framework.WaitForJobGone(c, ns, jobName, 10*time.Second) err := framework.WaitForJobGone(c, ns, jobName, wait.ForeverTestTimeout)
Expect(err).NotTo(HaveOccurred()) Expect(err).NotTo(HaveOccurred())
By("verifying the job " + jobName + " was deleted") By("verifying the job " + jobName + " was deleted")