-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
cleanup: replace dial with newclient #7920
Changes from 14 commits
2648448
b3f2f5e
76915bd
1cba7c2
6cebed0
1c11e23
6e64672
0cb8e39
46449b7
17366d0
f2c6c00
e3e6810
98a3d9c
9855d08
58eb4a3
c71b79d
647c7d2
93a17b6
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 |
---|---|---|
|
@@ -609,7 +609,7 @@ func (te *test) listenAndServe(ts testgrpc.TestServiceServer, listen func(networ | |
if te.serverInitialConnWindowSize > 0 { | ||
sopts = append(sopts, grpc.InitialConnWindowSize(te.serverInitialConnWindowSize)) | ||
} | ||
la := "localhost:0" | ||
la := "[::]:0" | ||
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. @dfawley this is required to fix test failures with the new Using 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 should avoid 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. @janardhanvissa can you please change this to ":0"? 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. Done |
||
switch te.e.network { | ||
case "unix": | ||
la = "/tmp/testsock" + fmt.Sprintf("%d", time.Now().UnixNano()) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: "... create a client for the backend" everywhere, please.
OR,
("grpc.NewClient(%q) failed unexpectedly: %v", target, err)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done