@@ -31,7 +31,7 @@ class SequentiallyFSpec extends AnyWordSpec with Matchers with ScalaFutures with
3131 " SequentiallyF" should {
3232
3333 " execute tasks in parallel for different keys without Thread.sleep" in {
34- val (sequentially, cleanup) = SequentiallyF .resource[IO , Int ].allocated.unsafeRunSync()
34+ val (sequentially, cleanup) = SequentiallyF .resource[IO , Int ]() .allocated.unsafeRunSync()
3535
3636 try {
3737 val startBarrier = new CyclicBarrier (3 )
@@ -84,7 +84,7 @@ class SequentiallyFSpec extends AnyWordSpec with Matchers with ScalaFutures with
8484 }
8585
8686 " execute tasks sequentially for the same key" in {
87- val (sequentially, cleanup) = SequentiallyF .resource[IO , Int ].allocated.unsafeRunSync()
87+ val (sequentially, cleanup) = SequentiallyF .resource[IO , Int ]() .allocated.unsafeRunSync()
8888
8989 try {
9090 val executionOrder = new AtomicInteger (0 )
@@ -127,7 +127,7 @@ class SequentiallyFSpec extends AnyWordSpec with Matchers with ScalaFutures with
127127 }
128128
129129 " handle exceptions without breaking sequential execution" in {
130- val (sequentially, cleanup) = SequentiallyF .resource[IO , Int ].allocated.unsafeRunSync()
130+ val (sequentially, cleanup) = SequentiallyF .resource[IO , Int ]() .allocated.unsafeRunSync()
131131
132132 try {
133133 val executionOrder = new AtomicInteger (0 )
@@ -217,7 +217,7 @@ class SequentiallyFSpec extends AnyWordSpec with Matchers with ScalaFutures with
217217 }
218218
219219 " execute F-based tasks correctly with applyF" in {
220- val (seq, cleanup) = SequentiallyF .resource[IO , Int ].allocated.unsafeRunSync()
220+ val (seq, cleanup) = SequentiallyF .resource[IO , Int ]() .allocated.unsafeRunSync()
221221 val sequentially = seq.asInstanceOf [SequentiallyF [IO , Int ]]
222222
223223 try {
@@ -253,7 +253,7 @@ class SequentiallyFSpec extends AnyWordSpec with Matchers with ScalaFutures with
253253 }
254254
255255 " handle F[_] exceptions in applyF without breaking sequential execution" in {
256- val (seq, cleanup) = SequentiallyF .resource[IO , Int ].allocated.unsafeRunSync()
256+ val (seq, cleanup) = SequentiallyF .resource[IO , Int ]() .allocated.unsafeRunSync()
257257 val sequentially = seq.asInstanceOf [SequentiallyF [IO , Int ]]
258258
259259 try {
@@ -311,7 +311,7 @@ class SequentiallyFSpec extends AnyWordSpec with Matchers with ScalaFutures with
311311 }
312312
313313 " handle F[_] exceptions in parallel for different keys" in {
314- val (seq, cleanup) = SequentiallyF .resource[IO , Int ].allocated.unsafeRunSync()
314+ val (seq, cleanup) = SequentiallyF .resource[IO , Int ]() .allocated.unsafeRunSync()
315315 val sequentially = seq.asInstanceOf [SequentiallyF [IO , Int ]]
316316
317317 try {
@@ -358,7 +358,7 @@ class SequentiallyFSpec extends AnyWordSpec with Matchers with ScalaFutures with
358358 }
359359
360360 " maintain correctness under concurrent stress" in {
361- val (sequentially, cleanup) = SequentiallyF .resource[IO , Int ].allocated.unsafeRunSync()
361+ val (sequentially, cleanup) = SequentiallyF .resource[IO , Int ]() .allocated.unsafeRunSync()
362362
363363 try {
364364 val numKeys = 50
0 commit comments