java.lang.AssertionError

assertion failed: timeout (300 milliseconds) during expectMsg while waiting for STARTED


Solutions on the web2609

Solution icon of github
assertion failed: timeout (300 milliseconds) during expectMsg while waiting for STARTED

Solution icon of github
assertion failed: timeout (500 milliseconds) during expectMsg while waiting for Tick

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
assertion failed: timeout (20 milliseconds) during expectMsg while waiting for Terminated

Solution icon of web
via blogspot.com by Unknown author, 1 year ago
assertion failed: timeout (20 milliseconds) during expectMsg while waiting for Terminated

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

Solution icon of github
via GitHub by johanandren
, 5 months ago
assertion failed: timeout (5 seconds) during expectMsg while waiting for UpdateSuccess(durable-C,None)

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

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

Solution icon of github
assertion failed: timeout (3 seconds) during expectMsg while waiting for 1, took 3.044 sec

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

Stack trace

  • java.lang.AssertionError: assertion failed: timeout (300 milliseconds) during expectMsg while waiting for STARTED 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:373) at akka.testkit.TestKit.expectMsg(TestKit.scala:814) at akka.pattern.BackoffOnRestartSupervisorSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anon$2$$anonfun$3$$anonfun$apply$mcV$sp$6.apply(BackoffOnRestartSupervisorSpec.scala:90) at akka.pattern.BackoffOnRestartSupervisorSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anon$2$$anonfun$3$$anonfun$apply$mcV$sp$6.apply(BackoffOnRestartSupervisorSpec.scala:87) at akka.testkit.TestKitBase$class.within(TestKit.scala:345) at akka.testkit.TestKit.within(TestKit.scala:814) at akka.pattern.BackoffOnRestartSupervisorSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anon$2$$anonfun$3.apply$mcV$sp(BackoffOnRestartSupervisorSpec.scala:87) at akka.pattern.BackoffOnRestartSupervisorSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anon$2$$anonfun$3.apply(BackoffOnRestartSupervisorSpec.scala:85) at akka.pattern.BackoffOnRestartSupervisorSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anon$2$$anonfun$3.apply(BackoffOnRestartSupervisorSpec.scala:85) at akka.testkit.EventFilter.intercept(TestEventListener.scala:111) at akka.testkit.package$.filterException(package.scala:35) at akka.pattern.BackoffOnRestartSupervisorSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anon$2.<init>(BackoffOnRestartSupervisorSpec.scala:85) at akka.pattern.BackoffOnRestartSupervisorSpec$$anonfun$1$$anonfun$apply$mcV$sp$5.apply(BackoffOnRestartSupervisorSpec.scala:84)

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, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
Once, 8 months ago
21 more bugmates