java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsg while waiting for 200


Solutions on the web

Solution icon of github
via GitHub by ktoso
, 9 months ago
assertion failed: timeout (3 seconds) during expectMsg while waiting for 200

Solution icon of github
via GitHub by ktoso
, 1 year ago
assertion failed: timeout (3 seconds) during expectMsg while waiting for OnComplete

Solution icon of github
via GitHub by velvia
, 1 year ago
assertion failed: timeout (3 seconds) during expectMsg while waiting for ContextInitialized

Solution icon of github
via GitHub by petro-rudenko
, 1 year ago
assertion failed: timeout (3 seconds) during expectMsg while waiting for NoSuchClass

Solution icon of github
assertion failed: timeout (3 seconds) during expectMsg while waiting for WriteMessagesSuccessful

Solution icon of github
via GitHub by patriknw
, 1 year ago
assertion failed: timeout (3 seconds) during expectMsg while waiting for pong

Solution icon of github
via GitHub by rkuhn
, 1 year ago
assertion failed: timeout (3 seconds) during expectMsg while waiting for OnComplete

Solution icon of github
assertion failed: timeout (3 seconds) during expectMsg while waiting for preStart

Solution icon of github
assertion failed: timeout (3 seconds) during expectMsg while waiting for NoSuchClass

Solution icon of github
assertion failed: timeout (3 seconds) during expectMsg while waiting for TransactionConfirmed(5f5c16c86b439dc0c708575854689c55c1f05b5a904d81f9553771ce0dbcea96,1)

Stack trace

java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsg while waiting for 200
	at scala.Predef$.assert(Predef.scala:170)
	at akka.testkit.TestKitBase$class.expectMsg_internal(TestKit.scala:387)
	at akka.testkit.TestKitBase$class.expectMsg(TestKit.scala:364)
	at akka.testkit.TestKit.expectMsg(TestKit.scala:814)
	at akka.remote.RemoteRouterSpec$$anonfun$collectRouteePaths$1.apply(RemoteRouterSpec.scala:96)
	at akka.remote.RemoteRouterSpec$$anonfun$collectRouteePaths$1.apply(RemoteRouterSpec.scala:93)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
	at scala.collection.immutable.Range.foreach(Range.scala:160)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
	at scala.collection.AbstractTraversable.map(Traversable.scala:104)
	at akka.remote.RemoteRouterSpec.collectRouteePaths(RemoteRouterSpec.scala:93)
	at akka.remote.RemoteRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$3.apply$mcV$sp(RemoteRouterSpec.scala:130)
	at akka.remote.RemoteRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$3.apply(RemoteRouterSpec.scala:127)
	at akka.remote.RemoteRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$3.apply(RemoteRouterSpec.scala:127)
	at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.WordSpecLike$$anon$1.apply(WordSpecLike.scala:1078)
	at org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196)
	at akka.testkit.AkkaSpec.withFixture(AkkaSpec.scala:59)
	at org.scalatest.WordSpecLike$class.invokeWithFixture$1(WordSpecLike.scala:1075)
	at org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:1088)
	at org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:1088)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
	at org.scalatest.WordSpecLike$class.runTest(WordSpecLike.scala:1088)
	at akka.testkit.AkkaSpec.runTest(AkkaSpec.scala:59)
	at org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1147)
	at org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1147)
	at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
	at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
	at scala.collection.immutable.List.foreach(List.scala:381)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
	at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:373)
	at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:410)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 7 months ago
Once, 10 months ago
22 more bugmates