Skip to content

Conversation

sachiniyer
Copy link
Contributor

I believe that the watch timeout abort signal was getting overwritten, and I think 0ae5ddf just forgot to delete line 44.

I wrote a one-off test to make sure this was really happening, but please let me know if I should be adding a unit test for this functionality as part of this PR.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 17, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sachiniyer
Once this PR has been reviewed and has the lgtm label, please assign mstruebing for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 17, 2025
@cjihrig
Copy link
Contributor

cjihrig commented Oct 17, 2025

I wrote a one-off test to make sure this was really happening, but please let me know if I should be adding a unit test for this functionality as part of this PR.

That would be very helpful!

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 17, 2025
@sachiniyer sachiniyer marked this pull request as draft October 17, 2025 17:35
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 17, 2025
@sachiniyer
Copy link
Contributor Author

Hi @cjihrig !

I've added a previously failing test. If you add back the line that I deleted, you will see that the test hangs/times out.

I also made the timeout value a private instance property to make it more easily testable - hopefully that's alright.

@sachiniyer sachiniyer marked this pull request as ready for review October 17, 2025 17:45
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 17, 2025
Copy link
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM, thanks.

@sachiniyer sachiniyer requested a review from cjihrig October 18, 2025 00:56
@sachiniyer
Copy link
Contributor Author

Made both adjustments @cjihrig

Lmk if anything else looks off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants