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

fix/internal/grpc/retry/testpb: fix NPE in vendored testpb package interceptor_suite.go #64199

Draft
wants to merge 1 commit into
base: graphite-ggilmorefeature_internal_grpc_retry_vendor_go-grpc-middleware_testing_testpb_package
Choose a base branch
from
Draft
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 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
Loading