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

GitHub | ktoso | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    FAILED: RemoteRouterSpec

    GitHub | 4 months ago | ktoso
    java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsg while waiting for 200
  2. 0

    GitHub comment 21271#243142749

    GitHub | 8 months ago | johanandren
    java.lang.AssertionError: assertion failed: timeout (3 seconds) while expecting 117 messages (got 116)
  3. 0

    FAILED LatencySpec

    GitHub | 7 months ago | johanandren
    java.lang.AssertionError: assertion failed: timeout (40 seconds) during expectMsg: Terminated Actor[akka://LatencySpec/user/$p#-975612264]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tests Failing.

    GitHub | 3 years ago | paulmagid
    java.lang.AssertionError: assertion failed: timeout (3 seconds) while expecting 2 messages
  6. 0
    samebug tip
    Some of the parametes ar enull

  1. jstrayer 9 times, last 2 weeks ago
  2. tyson925 1 times, last 5 months ago
  3. rp 1 times, last 5 months ago
  4. poroszd 1 times, last 8 months ago
18 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    assertion failed: timeout (3 seconds) during expectMsg while waiting for 200

    at scala.Predef$.assert()
  2. Scala
    Predef$.assert
    1. scala.Predef$.assert(Predef.scala:170)
    1 frame
  3. Akka Testkit
    TestKit.expectMsg
    1. akka.testkit.TestKitBase$class.expectMsg_internal(TestKit.scala:387)
    2. akka.testkit.TestKitBase$class.expectMsg(TestKit.scala:364)
    3. akka.testkit.TestKit.expectMsg(TestKit.scala:814)
    3 frames
  4. Akka Remote
    RemoteRouterSpec$$anonfun$collectRouteePaths$1.apply
    1. akka.remote.RemoteRouterSpec$$anonfun$collectRouteePaths$1.apply(RemoteRouterSpec.scala:96)
    2. akka.remote.RemoteRouterSpec$$anonfun$collectRouteePaths$1.apply(RemoteRouterSpec.scala:93)
    2 frames
  5. Scala
    AbstractTraversable.map
    1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
    2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
    3. scala.collection.immutable.Range.foreach(Range.scala:160)
    4. scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
    5. scala.collection.AbstractTraversable.map(Traversable.scala:104)
    5 frames
  6. Akka Remote
    RemoteRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$3.apply
    1. akka.remote.RemoteRouterSpec.collectRouteePaths(RemoteRouterSpec.scala:93)
    2. akka.remote.RemoteRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$3.apply$mcV$sp(RemoteRouterSpec.scala:130)
    3. akka.remote.RemoteRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$3.apply(RemoteRouterSpec.scala:127)
    4. akka.remote.RemoteRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$3.apply(RemoteRouterSpec.scala:127)
    4 frames
  7. scalatest
    TestSuite$class.withFixture
    1. org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
    2. org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
    3. org.scalatest.Transformer.apply(Transformer.scala:22)
    4. org.scalatest.Transformer.apply(Transformer.scala:20)
    5. org.scalatest.WordSpecLike$$anon$1.apply(WordSpecLike.scala:1078)
    6. org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196)
    6 frames
  8. Akka Testkit
    AkkaSpec.withFixture
    1. akka.testkit.AkkaSpec.withFixture(AkkaSpec.scala:59)
    1 frame
  9. scalatest
    WordSpecLike$class.runTest
    1. org.scalatest.WordSpecLike$class.invokeWithFixture$1(WordSpecLike.scala:1075)
    2. org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:1088)
    3. org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:1088)
    4. org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
    5. org.scalatest.WordSpecLike$class.runTest(WordSpecLike.scala:1088)
    5 frames
  10. Akka Testkit
    AkkaSpec.runTest
    1. akka.testkit.AkkaSpec.runTest(AkkaSpec.scala:59)
    1 frame
  11. scalatest
    SuperEngine$$anonfun$traverseSubNodes$1$1.apply
    1. org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1147)
    2. org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1147)
    3. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
    4. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:384)
    4 frames
  12. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)
    1 frame
  13. scalatest
    SuperEngine$$anonfun$traverseSubNodes$1$1.apply
    1. org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
    2. org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:373)
    3. org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:410)
    3 frames