mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Don't reuse transport/client
This commit is contained in:
@@ -447,6 +447,8 @@ func TestHTTP_VerifyHTTPSClient(t *testing.T) {
|
||||
}
|
||||
return &c, nil
|
||||
}
|
||||
transport = &http.Transport{TLSClientConfig: tlsConf}
|
||||
client = &http.Client{Transport: transport}
|
||||
req, err = http.NewRequest("GET", reqURL, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("error creating request: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user