Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Aug 3, 2023
1 parent 6d0dc50 commit 4d8279b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class BoundedQueueSpec extends BaseSpec with QueueTests[Queue] with DetectPlatfo
q <- constructor(64)

produce = 0.until(fiberCount).toList.parTraverse_(producer(q, _))
consume = 0.until(fiberCount).toList.parTraverse(consumer(q, _)).map(_.flatten)
consume = 0.until(fiberCount).toList.parTraverse(consumer(q, _)).map(_.flatMap(identity))

results <- produce &> consume

Expand Down

0 comments on commit 4d8279b

Please sign in to comment.