-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace all usages of deprecated wait.PollImmediate with wait.PollUntilContextTimeout #957
Replace all usages of deprecated wait.PollImmediate with wait.PollUntilContextTimeout #957
Conversation
@prashantrewar: The label(s) In response to this:
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. |
Welcome @prashantrewar! It looks like this is your first PR to knative/networking 🎉 |
Hi @prashantrewar. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
I believe the test is failing because networking/pkg/prober/prober_test.go Lines 227 to 229 in 13c6ea7
According to the docs https://pkg.go.dev/k8s.io/apimachinery/pkg/util/wait#Poll
|
You'll also need to verify if |
I don't think it's used anywhere in code that isn't tests so I think we should be ok |
/retest |
/test unit-tests |
@prashantrewar mind taking a look at the test failures? |
@prashantrewar just following up - are you able to address the unit test failures? |
@dprotaso, I tried, and I found that |
Yeah update the test |
…ilContextTimeout Signed-off-by: Prashant Rewar <[email protected]>
13c6ea7
to
9af1ce7
Compare
@dprotaso Done! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #957 +/- ##
==========================================
- Coverage 93.43% 93.41% -0.02%
==========================================
Files 36 36
Lines 1249 1003 -246
==========================================
- Hits 1167 937 -230
+ Misses 69 53 -16
Partials 13 13 ☔ View full report in Codecov by Sentry. |
/retest |
/lgtm thanks @prashantrewar |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, prashantrewar The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thank you @dprotaso for guidance and support. |
Changes
/kind
Fixes #
Release Note
Docs