From c91e4e4f0f95c339d649cd37eeb93a8094cdde1e Mon Sep 17 00:00:00 2001 From: Daniel Vigovszky Date: Fri, 22 Dec 2023 19:29:02 +0100 Subject: [PATCH 1/2] CodeGenSpec is flaky --- .../src/test/scala/zio/http/gen/scala/CodeGenSpec.scala | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/zio-http-gen/src/test/scala/zio/http/gen/scala/CodeGenSpec.scala b/zio-http-gen/src/test/scala/zio/http/gen/scala/CodeGenSpec.scala index c109ba5584..bcba941aaa 100644 --- a/zio-http-gen/src/test/scala/zio/http/gen/scala/CodeGenSpec.scala +++ b/zio-http-gen/src/test/scala/zio/http/gen/scala/CodeGenSpec.scala @@ -2,18 +2,16 @@ package zio.http.gen.scala import java.io.File import java.nio.file._ - import scala.jdk.CollectionConverters._ - import zio.Scope import zio.test._ - import zio.http._ import zio.http.codec._ import zio.http.endpoint.Endpoint import zio.http.endpoint.openapi.{OpenAPI, OpenAPIGen} import zio.http.gen.model._ import zio.http.gen.openapi.EndpointGen +import zio.test.TestAspect.flaky object CodeGenSpec extends ZIOSpecDefault { @@ -199,5 +197,5 @@ object CodeGenSpec extends ZIOSpecDefault { "/GeneratedPaymentNoDiscriminator.scala", ) }, - ) @@ java11OrNewer + ) @@ java11OrNewer @@ flaky // Downloading scalafmt on CI is flaky } From e0e7a06fcfff300d9d433cedb05b495a88481152 Mon Sep 17 00:00:00 2001 From: Daniel Vigovszky Date: Fri, 22 Dec 2023 19:30:00 +0100 Subject: [PATCH 2/2] Format --- .../src/test/scala/zio/http/gen/scala/CodeGenSpec.scala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zio-http-gen/src/test/scala/zio/http/gen/scala/CodeGenSpec.scala b/zio-http-gen/src/test/scala/zio/http/gen/scala/CodeGenSpec.scala index bcba941aaa..d0d1fcf1a0 100644 --- a/zio-http-gen/src/test/scala/zio/http/gen/scala/CodeGenSpec.scala +++ b/zio-http-gen/src/test/scala/zio/http/gen/scala/CodeGenSpec.scala @@ -2,16 +2,19 @@ package zio.http.gen.scala import java.io.File import java.nio.file._ + import scala.jdk.CollectionConverters._ + import zio.Scope +import zio.test.TestAspect.flaky import zio.test._ + import zio.http._ import zio.http.codec._ import zio.http.endpoint.Endpoint import zio.http.endpoint.openapi.{OpenAPI, OpenAPIGen} import zio.http.gen.model._ import zio.http.gen.openapi.EndpointGen -import zio.test.TestAspect.flaky object CodeGenSpec extends ZIOSpecDefault {