diff --git a/actor-tests/src/test/scala/org/apache/pekko/actor/dispatch/DispatcherActorSpec.scala b/actor-tests/src/test/scala/org/apache/pekko/actor/dispatch/DispatcherActorSpec.scala index 8d8407c6be..d2b3dd02e9 100644 --- a/actor-tests/src/test/scala/org/apache/pekko/actor/dispatch/DispatcherActorSpec.scala +++ b/actor-tests/src/test/scala/org/apache/pekko/actor/dispatch/DispatcherActorSpec.scala @@ -97,7 +97,8 @@ class DispatcherActorSpec extends PekkoSpec(DispatcherActorSpec.config) with Def } }).withDispatcher(throughputDispatcher)) - assert(Await.result(slowOne ? "hogexecutor", timeout.duration) === "OK") + val slowResult = Await.result(slowOne ? "hogexecutor", timeout.duration) + assert(slowResult === "OK") (1 to 100).foreach { _ => slowOne ! "ping" } diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 04ec290c1a..6f73fa9d9d 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -47,7 +47,7 @@ object Dependencies { val reactiveStreamsVersion = "1.0.4" - val scalaTestVersion = "3.2.19" + val scalaTestVersion = "3.2.20" val scalaTestScalaCheckVersion = "1-19" val scalaCheckVersion = "1.19.0" @@ -131,11 +131,11 @@ object Dependencies { // but the version of each module starts with the scalatest // version it was intended to work with val scalatestJUnit = "org.scalatestplus" %% "junit-4-13" % (scalaTestVersion + ".0") % Test - val scalatestTestNG = "org.scalatestplus" %% "testng-7-10" % (scalaTestVersion + ".0") % Test + val scalatestTestNG = "org.scalatestplus" %% "testng-7-12" % (scalaTestVersion + ".0") % Test val scalatestScalaCheck = "org.scalatestplus" %% s"scalacheck-$scalaTestScalaCheckVersion" % (scalaTestVersion + ".0") % Test // https://github.com/scalatest/scalatest/issues/2311 - val scalatestMockito = "org.scalatestplus" %% "mockito-5-21" % (scalaTestVersion + ".0") % Test + val scalatestMockito = "org.scalatestplus" %% "mockito-5-23" % (scalaTestVersion + ".0") % Test val pojosr = "com.googlecode.pojosr" % "de.kalpatec.pojosr.framework" % "0.2.1" % Test val tinybundles = "org.ops4j.pax.tinybundles" % "tinybundles" % "4.0.1" % Test