Skip to content

Commit

Permalink
chore: add max retries to test (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Jan 24, 2025
1 parent b65e3dc commit 06b61ad
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ internal class RetryingHttpClientTest {
val retryingClient =
RetryingHttpClient.builder()
.httpClient(httpClient)
.maxRetries(2)
.idempotencyHeader("X-Some-Header")
.build()
val response = retryingClient.execute(request)
Expand Down

0 comments on commit 06b61ad

Please sign in to comment.