java.lang.AssertionError: assertion failed: timeout (300 milliseconds) during expectMsg while waiting for STARTED


Solutions on the web

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

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
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 github
via GitHub by krasserm
, 1 year ago
assertion failed: timeout (20 seconds) during expectMsg while waiting for Set(a, b, c, d1, d)

Solution icon of github
assertion failed: timeout (1 second) during expectMsg while waiting for shutdown-ack

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

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

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 kkasravi
, 1 year ago
assertion failed: timeout (10 seconds) during expectMsg while waiting for Echo

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, 4 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