Skip to content

Commit

Permalink
test(privval): fix grpc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Apr 8, 2024
1 parent 6254bdf commit ede0e88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions privval/grpc/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestSignerClient_GetPubKey(t *testing.T) {
srv, dialer := dialer(t, mockPV, logger)
defer srv.Stop()

conn, err := grpc.NewClient("",
conn, err := grpc.NewClient("localhost",
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithContextDialer(dialer),
)
Expand Down Expand Up @@ -78,7 +78,7 @@ func TestSignerClient_SignVote(t *testing.T) {
srv, dialer := dialer(t, mockPV, logger)
defer srv.Stop()

conn, err := grpc.NewClient("",
conn, err := grpc.NewClient("localhost",
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithContextDialer(dialer),
)
Expand Down Expand Up @@ -139,7 +139,7 @@ func TestSignerClient_SignProposal(t *testing.T) {
logger := log.NewTestingLogger(t)
srv, dialer := dialer(t, mockPV, logger)
defer srv.Stop()
conn, err := grpc.NewClient("",
conn, err := grpc.NewClient("localhost",
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithContextDialer(dialer),
)
Expand Down

0 comments on commit ede0e88

Please sign in to comment.