diff --git a/osgi/src/test/scala/org/apache/pekko/osgi/ActorSystemActivatorTest.scala b/osgi/src/test/scala/org/apache/pekko/osgi/ActorSystemActivatorTest.scala index 2e7cd2f74c..4dbeba1bec 100644 --- a/osgi/src/test/scala/org/apache/pekko/osgi/ActorSystemActivatorTest.scala +++ b/osgi/src/test/scala/org/apache/pekko/osgi/ActorSystemActivatorTest.scala @@ -19,7 +19,6 @@ import scala.concurrent.duration._ import PojoSRTestSupport.bundle import de.kalpatec.pojosr.framework.launch.BundleDescriptor -import language.postfixOps import org.scalatest.matchers.should.Matchers import org.scalatest.wordspec.AnyWordSpec import test.{ PingPongActorSystemActivator, RuntimeNameActorSystemActivator, TestActivators } @@ -55,7 +54,7 @@ class PingPongActorSystemActivatorTest extends AnyWordSpec with Matchers with Po val system = serviceForType[ActorSystem] val actor = system.actorSelection("/user/pong") - implicit val timeout = Timeout(5 seconds) + implicit val timeout: Timeout = Timeout(5.seconds) Await.result(actor ? Ping, timeout.duration) should be(Pong) } }