Skip to content

Commit

Permalink
fix(clientserver_test.go): use TLSClientFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Aug 22, 2022
1 parent a800f99 commit c5f877d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clientserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ func TestTransportDiscardsUnneededConns(t *testing.T) {
}
atomic.AddInt32(&numOpen, 1)
c := noteCloseConn{rc, func() { atomic.AddInt32(&numClose, 1) }}
return tls.Client(c, tlsConfig), nil
return TLSClientFactory(c, tlsConfig), nil
},
}
if err := ExportHttp2ConfigureTransport(tr); err != nil {
Expand Down

0 comments on commit c5f877d

Please sign in to comment.