remove secondary client retries in e2e tests

This commit is contained in:
David Eads
2020-10-12 14:04:47 -04:00
parent 4bbf4111e2
commit 64c099d670
21 changed files with 8 additions and 141 deletions

View File

@@ -63,9 +63,6 @@ func DeleteResourceWithRetries(c clientset.Interface, kind schema.GroupKind, nam
if err == nil || apierrors.IsNotFound(err) {
return true, nil
}
if IsRetryableAPIError(err) {
return false, nil
}
return false, fmt.Errorf("Failed to delete object with non-retriable error: %v", err)
}
return RetryWithExponentialBackOff(deleteFunc)