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

feat(grpcserver): Added bufconn connection factory #284

Merged
merged 4 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion grpcserver/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ linters:
- importas
- ineffassign
- interfacebloat
- logrlint
- loggercheck
- maintidx
- makezero
- misspell
Expand Down
8 changes: 1 addition & 7 deletions grpcserver/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package grpcserver_test

import (
"context"
"net"
"testing"

"github.com/ankorstore/yokai/generate/generatetest/uuid"
Expand Down Expand Up @@ -98,12 +97,7 @@ func TestCreate(t *testing.T) {
ctx = metadata.AppendToOutgoingContext(ctx, "x-request-id", testRequestId)

// gRPC client preparation
conn, err := grpc.DialContext(
ctx,
"",
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
return lis.Dial()
}),
conn, err := grpcservertest.NewDefaultTestBufconnConnectionFactory(lis).Create(
grpc.WithTransportCredentials(insecure.NewCredentials()),
)
assert.NoError(t, err)
Expand Down
21 changes: 10 additions & 11 deletions grpcserver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,23 @@ module github.com/ankorstore/yokai/grpcserver
go 1.20

require (
github.com/ankorstore/yokai/generate v1.1.0
github.com/ankorstore/yokai/generate v1.2.0
github.com/ankorstore/yokai/healthcheck v1.1.0
github.com/ankorstore/yokai/log v1.2.0
github.com/ankorstore/yokai/trace v1.2.0
github.com/ankorstore/yokai/trace v1.3.0
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0
github.com/rs/zerolog v1.32.0
github.com/rs/zerolog v1.33.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/otel/trace v1.24.0
google.golang.org/grpc v1.62.1
google.golang.org/protobuf v1.33.0
google.golang.org/grpc v1.64.1
google.golang.org/protobuf v1.34.2
)

require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand All @@ -33,10 +32,10 @@ require (
go.opentelemetry.io/otel/metric v1.24.0 // indirect
go.opentelemetry.io/otel/sdk v1.24.0 // indirect
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
34 changes: 20 additions & 14 deletions grpcserver/go.sum
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
github.com/ankorstore/yokai/generate v1.1.0 h1:tu3S+uEYh+2qNo8Rf/WxWneDjh49YgDPzSnJfF8JkXA=
github.com/ankorstore/yokai/generate v1.1.0/go.mod h1:gqS/i20wnvCOhcXydYdiGcASzBaeuW7GK6YYg/kkuY4=
github.com/ankorstore/yokai/generate v1.2.0 h1:37siukjPGSS2kRnCnPhiuiF373+0tgwp0teXHnMsBhA=
github.com/ankorstore/yokai/generate v1.2.0/go.mod h1:gqS/i20wnvCOhcXydYdiGcASzBaeuW7GK6YYg/kkuY4=
github.com/ankorstore/yokai/healthcheck v1.1.0 h1:PXkEccym7iaVnQltpM5UFi0Xl0n+5rZDzlQju6HmGms=
github.com/ankorstore/yokai/healthcheck v1.1.0/go.mod h1:IiYgjRa4G3OLZMwAuacuryZZAfDHsBH8PQoK4PgRdZ4=
github.com/ankorstore/yokai/log v1.2.0 h1:jiuDiC0dtqIGIOsFQslUHYoFJ1qjI+rOMa6dI1LBf2Y=
github.com/ankorstore/yokai/log v1.2.0/go.mod h1:MVvUcms1AYGo0BT6l88B9KJdvtK6/qGKdgyKVXfbmyc=
github.com/ankorstore/yokai/trace v1.2.0 h1:Jnl++IGNpDYumsZJXP3qjhMdvyHbejiajQwIlU604w0=
github.com/ankorstore/yokai/trace v1.2.0/go.mod h1:m7EL2MRBilgCtrly5gA4F0jkGSXR2EbG6LsotbTJ4nA=
github.com/ankorstore/yokai/trace v1.3.0 h1:0ji32oymIcxTmH5h6GRWLo5ypwBbWrZkXRf9rWF9070=
github.com/ankorstore/yokai/trace v1.3.0/go.mod h1:m7EL2MRBilgCtrly5gA4F0jkGSXR2EbG6LsotbTJ4nA=
github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM=
github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
Expand All @@ -17,8 +21,6 @@ github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ4
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
Expand All @@ -41,6 +43,8 @@ github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjR
github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
github.com/rs/zerolog v1.32.0 h1:keLypqrlIjaFsbmJOBdB/qvyF8KEtCWHwobLp5l/mQ0=
github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss=
github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8=
github.com/rs/zerolog v1.33.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss=
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
Expand All @@ -61,23 +65,25 @@ go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw
go.opentelemetry.io/proto/otlp v1.1.0 h1:2Di21piLrCqJ3U3eXGCTPHE9R8Nh+0uglSnOyxikMeI=
go.opentelemetry.io/proto/otlp v1.1.0/go.mod h1:GpBHCBWiqvVLDqmHZsoMM3C5ySeKTC7ej/RNTae6MdY=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc=
golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 h1:oqta3O3AnlWbmIE3bFnWbu4bRxZjfbWCp0cKSuZh01E=
google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7/go.mod h1:VQW3tUculP/D4B+xVCo+VgSq8As6wA9ZjHl//pmk+6s=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 h1:8EeVk1VKMD+GD/neyEHGmz7pFblqPjHoi+PGQIlLx2s=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk=
google.golang.org/grpc v1.62.1/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE=
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.64.1 h1:LKtvyfbX3UGVPFcGqJ9ItpVWW6oN/2XqTxfAnwRRXiA=
google.golang.org/grpc v1.64.1/go.mod h1:hiQF4LFZelK2WKaP6W0L92zGHtiQdZxk8CrSdvyjeP0=
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=
google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
Expand Down
39 changes: 39 additions & 0 deletions grpcserver/grpcservertest/factory.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package grpcservertest

import (
"context"
"fmt"
"net"

"google.golang.org/grpc"
"google.golang.org/grpc/test/bufconn"
)

var _ TestBufconnConnectionFactory = (*DefaultTestBufconnConnectionFactory)(nil)

type TestBufconnConnectionFactory interface {
Create(opts ...grpc.DialOption) (*grpc.ClientConn, error)
}

type DefaultTestBufconnConnectionFactory struct {
lis *bufconn.Listener
}

func NewDefaultTestBufconnConnectionFactory(lis *bufconn.Listener) *DefaultTestBufconnConnectionFactory {
return &DefaultTestBufconnConnectionFactory{
lis: lis,
}
}

func (f *DefaultTestBufconnConnectionFactory) Create(opts ...grpc.DialOption) (*grpc.ClientConn, error) {
dialOptions := append(
[]grpc.DialOption{
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
return f.lis.Dial()
}),
},
opts...,
)

return grpc.NewClient(fmt.Sprintf("passthrough://%s", f.lis.Addr().String()), dialOptions...)
}
33 changes: 33 additions & 0 deletions grpcserver/grpcservertest/factory_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package grpcservertest_test

import (
"testing"

"github.com/ankorstore/yokai/grpcserver/grpcservertest"
"github.com/stretchr/testify/assert"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"
)

func TestDefaultTestBufconnConnectionFactory(t *testing.T) {
t.Parallel()

lis := grpcservertest.NewBufconnListener(1024)
factory := grpcservertest.NewDefaultTestBufconnConnectionFactory(lis)

t.Run("implements TestBufconnConnectionFactory", func(t *testing.T) {
t.Parallel()

assert.Implements(t, (*grpcservertest.TestBufconnConnectionFactory)(nil), factory)
})

t.Run("creates a connection", func(t *testing.T) {
t.Parallel()

conn, err := factory.Create(
grpc.WithTransportCredentials(insecure.NewCredentials()),
)
assert.NoError(t, err)
assert.IsType(t, &grpc.ClientConn{}, conn)
})
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ import (
func TestNewBufconnListener(t *testing.T) {
t.Parallel()

conn := grpcservertest.NewBufconnListener(1024)
assert.IsType(t, &bufconn.Listener{}, conn)
lis := grpcservertest.NewBufconnListener(1024)
assert.IsType(t, &bufconn.Listener{}, lis)
}
11 changes: 1 addition & 10 deletions grpcserver/healthcheck_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package grpcserver_test

import (
"context"
"net"
"testing"

"github.com/ankorstore/yokai/generate/generatetest/uuid"
Expand Down Expand Up @@ -156,9 +155,6 @@ func TestWatch(t *testing.T) {
func prepareHealthCheckServiceGrpcServerAndClient(t *testing.T, checker *healthcheck.Checker, logger *log.Logger) (grpc_health_v1.HealthClient, func()) {
t.Helper()

// context preparation
ctx := logger.WithContext(context.Background())

// bufconn listener preparation
lis := grpcservertest.NewBufconnListener(1024 * 1024)

Expand All @@ -181,12 +177,7 @@ func prepareHealthCheckServiceGrpcServerAndClient(t *testing.T, checker *healthc
}()

// gRPC client preparation
conn, err := grpc.DialContext(
ctx,
"",
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
return lis.Dial()
}),
conn, err := grpcservertest.NewDefaultTestBufconnConnectionFactory(lis).Create(
grpc.WithTransportCredentials(insecure.NewCredentials()),
)
assert.NoError(t, err)
Expand Down
12 changes: 6 additions & 6 deletions grpcserver/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (i *GrpcLoggerInterceptor) UnaryInterceptor() grpc.UnaryServerInterceptor {
Err(err).
Str("grpcType", "unary").
Str("grpcMethod", info.FullMethod).
Int32("grpcCode", int32(errStatus.Code())).
Uint32("grpcCode", uint32(errStatus.Code())).
Str("grpcStatus", errStatus.Code().String()).
Str("grpcDuration", time.Since(now).String())

Expand All @@ -124,7 +124,7 @@ func (i *GrpcLoggerInterceptor) UnaryInterceptor() grpc.UnaryServerInterceptor {
Info().
Str("grpcType", "unary").
Str("grpcMethod", info.FullMethod).
Int32("grpcCode", int32(codes.OK)).
Uint32("grpcCode", uint32(codes.OK)).
Str("grpcStatus", codes.OK.String()).
Str("grpcDuration", time.Since(now).String())

Expand All @@ -144,7 +144,7 @@ func (i *GrpcLoggerInterceptor) UnaryInterceptor() grpc.UnaryServerInterceptor {
Err(err).
Str("grpcType", "unary").
Str("grpcMethod", info.FullMethod).
Int32("grpcCode", int32(errStatus.Code())).
Uint32("grpcCode", uint32(errStatus.Code())).
Str("grpcStatus", errStatus.Code().String()).
Str("grpcDuration", time.Since(now).String())

Expand Down Expand Up @@ -226,7 +226,7 @@ func (i *GrpcLoggerInterceptor) StreamInterceptor() grpc.StreamServerInterceptor
Err(err).
Str("grpcType", "server-streaming").
Str("grpcMethod", info.FullMethod).
Int32("grpcCode", int32(errStatus.Code())).
Uint32("grpcCode", uint32(errStatus.Code())).
Str("grpcStatus", errStatus.Code().String()).
Str("grpcDuration", time.Since(now).String())

Expand All @@ -244,7 +244,7 @@ func (i *GrpcLoggerInterceptor) StreamInterceptor() grpc.StreamServerInterceptor
Info().
Str("grpcType", "server-streaming").
Str("grpcMethod", info.FullMethod).
Int32("grpcCode", int32(codes.OK)).
Uint32("grpcCode", uint32(codes.OK)).
Str("grpcStatus", codes.OK.String()).
Str("grpcDuration", time.Since(now).String())

Expand All @@ -264,7 +264,7 @@ func (i *GrpcLoggerInterceptor) StreamInterceptor() grpc.StreamServerInterceptor
Err(err).
Str("grpcType", "server-streaming").
Str("grpcMethod", info.FullMethod).
Int32("grpcCode", int32(errStatus.Code())).
Uint32("grpcCode", uint32(errStatus.Code())).
Str("grpcStatus", errStatus.Code().String()).
Str("grpcDuration", time.Since(now).String())

Expand Down
11 changes: 1 addition & 10 deletions grpcserver/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"errors"
"io"
"net"
"testing"

"github.com/ankorstore/yokai/generate/generatetest/uuid"
Expand Down Expand Up @@ -753,9 +752,6 @@ func TestBidiWithExclusionAndError(t *testing.T) {
func prepareTestServiceGrpcServerAndClient(t *testing.T, logger *log.Logger, exclusions []string, metadata map[string]string, withTestInterceptors bool) (proto.ServiceClient, func()) {
t.Helper()

// context preparation
ctx := logger.WithContext(context.Background())

// bufconn listener preparation
lis := grpcservertest.NewBufconnListener(1024 * 1024)

Expand Down Expand Up @@ -809,12 +805,7 @@ func prepareTestServiceGrpcServerAndClient(t *testing.T, logger *log.Logger, exc
}()

// gRPC client preparation
conn, err := grpc.DialContext(
ctx,
"",
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
return lis.Dial()
}),
conn, err := grpcservertest.NewDefaultTestBufconnConnectionFactory(lis).Create(
grpc.WithTransportCredentials(insecure.NewCredentials()),
)
assert.NoError(t, err)
Expand Down
Loading