Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
fix/internal/grpc/retry/testpb: fix NPE in vendored testpb package in…
Browse files Browse the repository at this point in the history
…terceptor_suite.go
  • Loading branch information
ggilmore committed Jul 31, 2024
1 parent 4e40431 commit 09f854c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/grpc/retry/testpb/interceptor_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ func (s *InterceptorTestSuite) SetupSuite() {
for {
var err error
s.ServerListener, err = net.Listen("tcp", s.serverAddr)
s.serverAddr = s.ServerListener.Addr().String()
require.NoError(s.T(), err, "must be able to allocate a port for serverListener")
s.serverAddr = s.ServerListener.Addr().String()
if *flagTls {
cert, err := tls.X509KeyPair(certPEM, keyPEM)
require.NoError(s.T(), err, "unable to load test TLS certificate")
Expand Down

0 comments on commit 09f854c

Please sign in to comment.