diff --git a/stripe_test.go b/stripe_test.go index d0a151cf80..bac6a5ea33 100644 --- a/stripe_test.go +++ b/stripe_test.go @@ -355,7 +355,7 @@ func TestDo_RetryOnTimeout(t *testing.T) { LeveledLogger: nullLeveledLogger, MaxNetworkRetries: Int64(1), URL: String(testServer.URL), - HTTPClient: &http.Client{Timeout: timeout}, + HTTPClient: &http.Client{Timeout: timeout / 2}, }, ).(*BackendImplementation)