Fix Scala 3.3 compile issues
This commit is contained in:
parent
fea4c74d03
commit
ba8922c9ba
1 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,6 @@ import scala.concurrent.duration._
|
||||||
|
|
||||||
import PojoSRTestSupport.bundle
|
import PojoSRTestSupport.bundle
|
||||||
import de.kalpatec.pojosr.framework.launch.BundleDescriptor
|
import de.kalpatec.pojosr.framework.launch.BundleDescriptor
|
||||||
import language.postfixOps
|
|
||||||
import org.scalatest.matchers.should.Matchers
|
import org.scalatest.matchers.should.Matchers
|
||||||
import org.scalatest.wordspec.AnyWordSpec
|
import org.scalatest.wordspec.AnyWordSpec
|
||||||
import test.{ PingPongActorSystemActivator, RuntimeNameActorSystemActivator, TestActivators }
|
import test.{ PingPongActorSystemActivator, RuntimeNameActorSystemActivator, TestActivators }
|
||||||
|
|
@ -55,7 +54,7 @@ class PingPongActorSystemActivatorTest extends AnyWordSpec with Matchers with Po
|
||||||
val system = serviceForType[ActorSystem]
|
val system = serviceForType[ActorSystem]
|
||||||
val actor = system.actorSelection("/user/pong")
|
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)
|
Await.result(actor ? Ping, timeout.duration) should be(Pong)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue