Skip to content

Commit

Permalink
mark a flaky test as such
Browse files Browse the repository at this point in the history
  • Loading branch information
hochgi committed Dec 2, 2024
1 parent 5544618 commit a7547b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zio-http/jvm/src/test/scala/zio/http/ClientHttpsSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package zio.http

import zio._
import zio.test.Assertion._
import zio.test.TestAspect.nonFlaky
import zio.test.TestAspect.{flaky, nonFlaky}
import zio.test.{TestAspect, assertZIO}

import zio.http.netty.NettyConfig
Expand Down Expand Up @@ -53,7 +53,7 @@ abstract class ClientHttpsSpecBase extends ZIOHttpSpec {
test("should respond as Bad Request") {
val actual = Client.batched(Request.get(badRequest)).map(_.status)
assertZIO(actual)(equalTo(Status.BadRequest))
},
} @@ flaky /* sometimes we get 503 */,
test("should throw DecoderException for handshake failure") {
val actual = Client.batched(Request.get(untrusted)).exit
assertZIO(actual)(
Expand Down

0 comments on commit a7547b8

Please sign in to comment.