Skip to content

Commit

Permalink
Fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
Coder-256 authored and luben committed Nov 30, 2023
1 parent 475ed5d commit 9a5c4b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/scala/Zstd.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ class ZstdSpec extends AnyFlatSpec with ScalaCheckPropertyChecks {
Using.Manager { use =>
val cctx = use(new ZstdCompressCtx())

forAll(minSize(32)) { input: Array[Byte] =>
forAll { input: Array[Byte] => whenever (input.length >= 32)
{
val size = input.length
val inputBuffer = ByteBuffer.allocateDirect(size)
Expand Down

0 comments on commit 9a5c4b2

Please sign in to comment.