Skip to content

Commit

Permalink
change memory leak test throttle duration
Browse files Browse the repository at this point in the history
  • Loading branch information
kovstas committed Jun 1, 2024
1 parent e616ab1 commit 6e5eb0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/scala/dev/kovstas/fs2throttler/MemoryLeakSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,14 @@ class MemoryLeakSpec extends FunSuite {
Stream
.range(0, 1000000)
.covary[IO]
.through(Throttler.throttle(100, 100.millis, Enforcing))
.through(Throttler.throttle(100, 10.millis, Enforcing))
}

leakTest("Throttler.throttle shaping") {
Stream
.range(0, 1000000)
.covary[IO]
.through(Throttler.throttle(100, 100.millis, Shaping))
.through(Throttler.throttle(100, 10.millis, Shaping))
}

}

0 comments on commit 6e5eb0c

Please sign in to comment.