-
Notifications
You must be signed in to change notification settings - Fork 4.5k
transport : wait for goroutines to exit before transport closes #7666
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
Changes from all commits
878282e
cff0d26
5673161
dcc80ac
59ae8aa
b24f606
5c704c7
7c26e73
9f75bcb
18941b7
019de33
ffbcc65
8cc025e
768823a
60cd4d0
a09b7aa
4eea9aa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ import ( | |
) | ||
|
||
const defaultTestTimeout = 10 * time.Second | ||
const defaultTestShortTimeout = 10 * time.Millisecond | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't we have a similar test to verify transport doesn't close until keepalive goroutine finish? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We will not test that and leave that upto the leak checker becuase determining and controlling when There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. okay |
||
|
||
// TestMaxConnectionIdle tests that a server will send GoAway to an idle | ||
// client. An idle client is one who doesn't make any RPC calls for a duration | ||
|
Uh oh!
There was an error while loading. Please reload this page.