Skip to content
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

test: add a test for clientConn close with pending RPC #5264

Merged
merged 3 commits into from
Mar 22, 2022

Conversation

easwars
Copy link
Contributor

@easwars easwars commented Mar 21, 2022

Earlier, we had two tests for this same scenario:

Hence this test is being moved out into a standalone ClientConn test.

RELEASE NOTES: none

@easwars easwars added this to the 1.46 Release milestone Mar 21, 2022
@easwars easwars requested a review from menghanl March 21, 2022 23:51
@easwars easwars closed this Mar 22, 2022
@easwars easwars reopened this Mar 22, 2022

r := manual.NewBuilderWithScheme("whatever")

// Spin up a backend exposing the TestService.
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need the backend at all?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right. Got rid of it. Thanks.

@menghanl menghanl assigned easwars and unassigned menghanl Mar 22, 2022
@easwars easwars assigned menghanl and unassigned easwars Mar 22, 2022
@menghanl menghanl assigned easwars and unassigned menghanl Mar 22, 2022
@easwars easwars merged commit e49486d into grpc:master Mar 22, 2022
@easwars easwars deleted the clientconn_blocking_rpc_with_close_test branch March 22, 2022 21:32
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants