From 1caa2e5a9c36bcca5c6102c103b9f170c07b8abd Mon Sep 17 00:00:00 2001 From: Scala Steward <43047562+scala-steward@users.noreply.github.com> Date: Sun, 12 Nov 2023 19:23:06 +0100 Subject: [PATCH] Update cats-effect to 3.5.2 (#353) * Update cats-effect to 3.5.2 * non-zero sleep in test --------- Co-authored-by: johannes karoff --- build.sbt | 2 +- colibri/src/test/scala/colibri/ObservableSpec.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 4fd54144..ece43e07 100644 --- a/build.sbt +++ b/build.sbt @@ -51,7 +51,7 @@ lazy val colibri = project name := "colibri", libraryDependencies ++= Seq( "org.typelevel" %%% "cats-core" % "2.10.0", - "org.typelevel" %%% "cats-effect" % "3.4.11", + "org.typelevel" %%% "cats-effect" % "3.5.2", ), ) diff --git a/colibri/src/test/scala/colibri/ObservableSpec.scala b/colibri/src/test/scala/colibri/ObservableSpec.scala index 9914a969..fe0b1fe6 100644 --- a/colibri/src/test/scala/colibri/ObservableSpec.scala +++ b/colibri/src/test/scala/colibri/ObservableSpec.scala @@ -1261,7 +1261,7 @@ class ObservableSpec extends AsyncFlatSpec with Matchers { _ = received shouldBe List.empty _ = errors shouldBe 0 - _ <- IO.sleep(0.seconds) + _ <- IO.sleep(0.1.seconds) _ = cancelable.isEmpty() shouldBe true _ = received shouldBe List((iterations * (iterations + 1)) / 2)