Skip to content

Commit 7c4a4e0

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
chore: add max retries to test (#160)
1 parent 29b5d11 commit 7c4a4e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openai-java-core/src/test/kotlin/com/openai/core/http/RetryingHttpClientTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ internal class RetryingHttpClientTest {
4545
val retryingClient =
4646
RetryingHttpClient.builder()
4747
.httpClient(httpClient)
48+
.maxRetries(2)
4849
.idempotencyHeader("X-Some-Header")
4950
.build()
5051
val response = retryingClient.execute(request)

0 commit comments

Comments
 (0)