From c5f877dfd293a813dcdf0713fe8b0050e632f594 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Mon, 22 Aug 2022 11:40:48 +0200 Subject: [PATCH] fix(clientserver_test.go): use TLSClientFactory --- clientserver_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientserver_test.go b/clientserver_test.go index 017c5687..bfa218a5 100644 --- a/clientserver_test.go +++ b/clientserver_test.go @@ -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 {