diff --git a/src/test/scala/dev/kovstas/fs2throttler/MemoryLeakSpec.scala b/src/test/scala/dev/kovstas/fs2throttler/MemoryLeakSpec.scala index bce567d..3f1b9d7 100644 --- a/src/test/scala/dev/kovstas/fs2throttler/MemoryLeakSpec.scala +++ b/src/test/scala/dev/kovstas/fs2throttler/MemoryLeakSpec.scala @@ -137,16 +137,16 @@ class MemoryLeakSpec extends FunSuite { leakTest("Throttler.throttle enforcing") { Stream - .range(0, 1000000) + .range(0, 1_000_000) .covary[IO] - .through(Throttler.throttle(100, 100.millis, Enforcing)) + .through(Throttler.throttle(100, 10.millis, Enforcing)) } leakTest("Throttler.throttle shaping") { Stream - .range(0, 1000000) + .range(0, 1_000_000) .covary[IO] - .through(Throttler.throttle(100, 100.millis, Shaping)) + .through(Throttler.throttle(100, 10.millis, Shaping)) } }