Merge pull request #110700 from alculquicondor/increase_timeout

Increase timeout for TestSyncPastDeadlineJobFinished
This commit is contained in:
Kubernetes Prow Robot 2022-06-22 08:23:56 -07:00 committed by GitHub
commit b60978629d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1878,7 +1878,7 @@ func TestSyncPastDeadlineJobFinished(t *testing.T) {
t.Fatalf("Failed to insert job in index: %v", err)
}
var j *batch.Job
err = wait.Poll(200*time.Millisecond, 3*time.Second, func() (done bool, err error) {
err = wait.Poll(200*time.Millisecond, 10*time.Second, func() (done bool, err error) {
j, err = clientset.BatchV1().Jobs(metav1.NamespaceDefault).Get(ctx, job.GetName(), metav1.GetOptions{})
if err != nil {
return false, nil