Skip to content

Commit

Permalink
Try something for the flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr committed Oct 17, 2024
1 parent 4a19c36 commit be6b2d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ object ShardingSpec extends ZIOSpecDefault {
fiber <- stream.take(5).tap(_ => latch.succeed(())).runCollect.fork
_ <- latch.await
_ <- fiber.interrupt
_ <- Clock.sleep(1 second)
_ <- Clock.sleep(3 seconds)
res <- counter.send("c1")(GetCounter.apply)
} yield assertTrue(res == -1)
}
Expand Down

0 comments on commit be6b2d8

Please sign in to comment.