From 4310523e2e2dd4c520a9cfe8243255f21eb04fb6 Mon Sep 17 00:00:00 2001 From: hochgi Date: Mon, 2 Dec 2024 22:14:36 +0200 Subject: [PATCH] mark another flaky test as such --- zio-http/jvm/src/test/scala/zio/http/endpoint/AuthSpec.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zio-http/jvm/src/test/scala/zio/http/endpoint/AuthSpec.scala b/zio-http/jvm/src/test/scala/zio/http/endpoint/AuthSpec.scala index 4d93dff8cf..db4c82a83e 100644 --- a/zio-http/jvm/src/test/scala/zio/http/endpoint/AuthSpec.scala +++ b/zio-http/jvm/src/test/scala/zio/http/endpoint/AuthSpec.scala @@ -1,6 +1,7 @@ package zio.http.endpoint import zio.Config.Secret +import zio.test.TestAspect.flaky import zio.test._ import zio.{Scope, ZIO, durationInt} @@ -151,7 +152,7 @@ object AuthSpec extends ZIOSpecDefault { .catchAllCause(c => ZIO.logInfoCause(c)) <* ZIO.sleep(1.seconds) response <- response } yield assertTrue(response == "admin") - }, + } @@ flaky, test("Auth basic or bearer with context and endpoint client") { val endpoint = Endpoint(Method.GET / "multiAuth")