Use retries from knative/pkg and add UTs to reconcilers that use retries#6657
Conversation
knative-prow-robot
left a comment
There was a problem hiding this comment.
@nlopezgi: 0 warnings.
Details
In response to this:
Followup to #6162
Proposed Changes
As part of google/knative-gcp#508 (which is similar to #6162) I sent knative/pkg#1008 adding the retry.go logic to knative/pkg. This PR uses new the retry.go in knative/pkg, removes the retry.go from this repo.
This PR also adds unit tests to reconcilers that actually validate the retry functionality (similar to how they were added in google/knative-gcp#508)
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
11cc7ca to
e0f5f3f
Compare
9a76e6b to
f6ec42d
Compare
f6ec42d to
f6c4ea3
Compare
markusthoemmes
left a comment
There was a problem hiding this comment.
The test method is super smart, I LOVE that! 😍
|
thanks for the detailed feedback @markusthoemmes and @taragu. PTAL . |
markusthoemmes
left a comment
There was a problem hiding this comment.
One last nugget :)
done, thanks, thought I had removed them. |
|
The following jobs failed:
Failed non-flaky tests preventing automatic retry of pull-knative-serving-unit-tests: |
|
The following is the coverage report on the affected files.
|
|
/retest |
markusthoemmes
left a comment
There was a problem hiding this comment.
/lgtm
/approve
Thanks! 🎉
|
/assign @evankanderson |
|
/assign @mattmoor For the Gopkg stuff. |
|
@mattmoor could you please review and let me know if anything is pending here. Thanks! |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: evankanderson, markusthoemmes, nlopezgi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Followup to #6162
Proposed Changes
As part of add retries/fallbacks for update status google/knative-gcp#508 (which is similar to Add retries and fallback to actual API calls to status updates. #6162) I sent add retry func for reconciler pkg#1008 adding the retry.go logic to knative/pkg. This PR uses new the retry.go in knative/pkg, removes the retry.go from this repo.
This PR also adds unit tests to reconcilers that actually validate the retry functionality (similar to how they were added in add retries/fallbacks for update status google/knative-gcp#508)