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

cleanup: replace dial with newclient #7975

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updating error msg
  • Loading branch information
janardhankrishna-sai committed Jan 1, 2025
commit 77953ecf7c1a33c94b785b4dbb7d913c07686476
6 changes: 3 additions & 3 deletions test/end2end_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3006,7 +3006,7 @@ func (s) TestTransparentRetry(t *testing.T) {
server.start(t, lis)
cc, err := grpc.NewClient(lis.Addr().String(), grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
t.Fatalf("failed to create a client: %v", err)
t.Fatalf("failed to create a client for the server: %v", err)
}
defer cc.Close()

Expand Down Expand Up @@ -5072,7 +5072,7 @@ func (s) TestServeExitsWhenListenerClosed(t *testing.T) {

cc, err := grpc.NewClient(lis.Addr().String(), grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
t.Fatalf("Failed to create a client to the server: %v", err)
t.Fatalf("Failed to create a client for server: %v", err)
}
defer cc.Close()
c := testgrpc.NewTestServiceClient(cc)
Expand Down Expand Up @@ -5246,7 +5246,7 @@ func (s) TestDisabledIOBuffers(t *testing.T) {
defer s.Stop()
cc, err := grpc.NewClient(lis.Addr().String(), grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithWriteBufferSize(0), grpc.WithReadBufferSize(0))
if err != nil {
t.Fatalf("Failed to create a client to server")
t.Fatalf("Failed to create a client for server")
}
defer cc.Close()
c := testgrpc.NewTestServiceClient(cc)
Expand Down
Loading