Skip to content

Commit

Permalink
fix: golang ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alok committed May 21, 2022
1 parent 6d620bf commit 882419f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions msuite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"github.com/plexsysio/go-msuite"
"github.com/plexsysio/go-msuite/core"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"
)

func TestMain(m *testing.M) {
Expand Down Expand Up @@ -450,13 +451,13 @@ func TestMultiClient(t *testing.T) {

grpcApi, _ := app.GRPC()

conn, err := grpcApi.Client(context.TODO(), "svc1", grpc.WithInsecure())
conn, err := grpcApi.Client(context.TODO(), "svc1", grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
t.Fatal(err)
}
conn.Close()

conn, err = grpcApi.Client(context.TODO(), "svc2", grpc.WithInsecure())
conn, err = grpcApi.Client(context.TODO(), "svc2", grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 882419f

Please sign in to comment.