From b7eeb0240635c76f1004d334890a6dbe0f63a6a0 Mon Sep 17 00:00:00 2001 From: "leonid.stashevsky" Date: Wed, 20 Nov 2024 17:02:06 +0100 Subject: [PATCH] fixup! Add test retry --- .../common/test/io/ktor/client/tests/HttpTimeoutTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/HttpTimeoutTest.kt b/ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/HttpTimeoutTest.kt index 731939ca85f..6a518bf6a77 100644 --- a/ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/HttpTimeoutTest.kt +++ b/ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/HttpTimeoutTest.kt @@ -263,7 +263,7 @@ class HttpTimeoutTest : ClientLoader() { } @Test - fun testGetStream() = clientTests { + fun testGetStream() = clientTests(retries = 5) { config { install(HttpTimeout) { requestTimeoutMillis = 1000 } } @@ -278,7 +278,7 @@ class HttpTimeoutTest : ClientLoader() { } @Test - fun testGetStreamPerRequestAttributes() = clientTests { + fun testGetStreamPerRequestAttributes() = clientTests(retries = 5) { config { install(HttpTimeout) }