diff --git a/test/httpstress_test.go b/test/httpstress_test.go index d2fa35f2..61529a8a 100644 --- a/test/httpstress_test.go +++ b/test/httpstress_test.go @@ -51,7 +51,10 @@ func TestStressHTTP(t *testing.T) { tc := &tls.Config{InsecureSkipVerify: true} tr := &http.Transport{ - TLSClientConfig: tc, + TLSClientConfig: tc, + DisableKeepAlives: true, + ResponseHeaderTimeout: time.Second, + TLSHandshakeTimeout: time.Second, } client := &http.Client{ Transport: tr,