-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
fix dial-timeout not affected for client watch command #18336
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: chengjoey 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 |
Hi @chengjoey. Thanks for your PR. I'm waiting for a etcd-io 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-sigs/prow repository. |
/ok-to-test |
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files
... and 24 files with indirect coverage changes @@ Coverage Diff @@
## main #18336 +/- ##
=======================================
Coverage 68.77% 68.77%
=======================================
Files 420 420
Lines 35535 35548 +13
=======================================
+ Hits 24438 24449 +11
- Misses 9668 9673 +5
+ Partials 1429 1426 -3 Continue to review full report in Codecov by Sentry.
|
/test pull-etcd-unit-test-386 |
/retest-required |
@chengjoey are you able to troubleshoot these test failures on your own? Or do you need help? |
thanks @jberkus , i will troubleshoot the test failure in the next two days. |
Thanks for raising this PR. It's a valid fix, but it might break some of the existing user experience. I guess it might be the reason why some test cases failed. So I suggest to only fix this in |
8e1f4a9
to
cd83269
Compare
cd83269
to
8caf4d0
Compare
updates: etcd/server/etcdmain/grpc_proxy.go Lines 239 to 269 in 010d462
So I changed it to only watch_command to set the block when creating the client, and other commands remain the same. |
Just like e2e test does,newClient will set Lines 50 to 54 in d6c0127
|
Discussed during sig-etcd triage meeting, @chengjoey can you please rebase this to prepare it for review? |
Signed-off-by: joey <[email protected]>
8caf4d0
to
3d8fe91
Compare
done |
/test pull-etcd-robustness-amd64 |
Thanks for rebase, I'll review shortly, cc tech leads @ahrtr and @serathius to also review. |
fix #18335
etcd/client/v3/client.go
Lines 327 to 330 in e7f5729
As noted before, it is wrong to not have
grpc.WithBlock()
in the test, we will also addoption
grpc.WithBlock(
etcd/client/v3/client_test.go
Lines 104 to 118 in e7f5729