From ae8d0114575d04f17ea6dc7ce2af397082117253 Mon Sep 17 00:00:00 2001 From: kciesielski Date: Thu, 6 Jul 2023 15:40:13 +0200 Subject: [PATCH] Explain why retries have been added to a test --- .../scala/sttp/client4/testing/streaming/StreamingTest.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/test/scala/sttp/client4/testing/streaming/StreamingTest.scala b/core/src/test/scala/sttp/client4/testing/streaming/StreamingTest.scala index 74d24b6a04..3826dd0ee6 100644 --- a/core/src/test/scala/sttp/client4/testing/streaming/StreamingTest.scala +++ b/core/src/test/scala/sttp/client4/testing/streaming/StreamingTest.scala @@ -221,6 +221,7 @@ abstract class StreamingTest[F[_], S] urlRegex.findAllIn(responseBody).length shouldBe numChunks } + // Repeating, because this request to a real https endpoint of httpbin occasionally fails retryImmediatelyOnError(runTest, retriesLeft = 5) }