diff --git a/agent/http_test.go b/agent/http_test.go index 37ec2db201..d37a61c44e 100644 --- a/agent/http_test.go +++ b/agent/http_test.go @@ -154,6 +154,7 @@ func TestHTTPServer_H2(t *testing.T) { t.Fatalf("err: %v", err) } transport := api.DefaultConfig().Transport + transport.TLSHandshakeTimeout = 30 * time.Second transport.TLSClientConfig = tlsccfg if err := http2.ConfigureTransport(transport); err != nil { t.Fatalf("err: %v", err)