-
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
grpc keepalive: test server-to-client HTTP/2 pings #8645
Comments
Can you fill in more details here? maybe @spzala can give this a try. |
Similar to By configuring server-side keepalive time parameters in https://godoc.org/google.golang.org/grpc/keepalive#ServerParameters, we want to test (either manually or write integration tests):
|
WIP. |
@spzala We can test this manually first. I would try
Then translate this to integration tests with wrapper (https://github.com/coreos/etcd/blob/master/clientv3/integration/black_hole_test.go or later #9081). |
@gyuho thanks much!! |
@gyuho hi, I am trying to see the behavior with setting |
Have you dropped packets? We want to simulate faulty networks with iptables. |
@gyuho hi, thanks, so I run this on client machine |
We expect
You may tune gRPC keepalive timeout in server-side. The disconnect may have been too short for server-side keepalive to kick-in. |
I would also add more debugging lines or adjust log levels in gRPC side. Server may not display all logs. |
@gyuho hi, I am getting back from some vacation and work travel :). I could run tests manually and I think we should try adding two integration test - one for
I will be working on creating the integration test but have another related question, you mentioned to use blackhole - can I use the Blackhole() or something similar on client (
|
@spzala Tests would be great. Thanks a lot! |
@gyuho thanks, and qq can you please help me understand how you are thinking on using blackhole on client side?. Any thoughts would be helpful. Thanks! |
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
Partially Fixes etcd-io#8645
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Need add tests around #8535.
The text was updated successfully, but these errors were encountered: