java.lang.AssertionError

assertion failed: expected: Terminated TestActor[akka://AppStartActorTest/user/$$qc] but got unexpected message Terminated(TestActor[akka://AppStartActorTest/user/$$pc])


Solutions on the web6976

Solution icon of github
via GitHub by HackToday
, 7 months ago
assertion failed: expected: Terminated TestActor[akka://AppStartActorTest/user/$$qc] but got unexpected message Terminated(TestActor[akka://AppStartActorTest/user/$$pc])

Solution icon of github
via GitHub by ktoso
, 1 year ago
assertion failed: expected: no longer watched by but got unexpected message Debug(akka://lifecycle/user,class akka.actor.LocalActorRefProvider$Guardian,now supervising TestActor[akka://lifecycle/user/$$e])

Solution icon of googlegroups
via Google Groups by Aditya Prasad, 10 months ago
assertion failed: expected: Terminated Actor[akka://ReplicatorSpec/user/$a#-968221567] but got unexpected message Foo(0)

Solution icon of github
via GitHub by manuzhang
, 1 year ago
assertion failed: timeout (5 seconds) during expectMsg: Terminated TestActor[akka://ForMasterWatcher/user/$$a]

Solution icon of github
via GitHub by kkasravi
, 1 year ago
assertion failed: timeout (5 seconds) during expectMsg: Terminated TestActor[akka://ForMasterWatcher/user/$$a]

Solution icon of github
via GitHub by jrudolph
, 7 months ago
assertion failed: expected: Terminated Actor[akka://DurableDataSpec/user/replicator-2#358621399] but got unexpected message UpdateSuccess(durable-C,None)

Solution icon of github
assertion failed: expected: Terminated Actor[akka://System/user/$c#-449023573] but got unexpected message CommandFailed(KillTasks(test-app,Set(taskA_id),true),java.lang.NullPointerException)

Solution icon of github
assertion failed: timeout (5 seconds) during expectMsg: Terminated Actor[akka://ClusterShardingLeavingSpec/user/sharding/Entity#-1175941464]

Solution icon of github
via GitHub by drewhk
, 10 months ago
assertion failed: timeout (2899896539 nanoseconds) during expectMsg: Terminated Actor[akka://PersistentFSMJavaTest/user/$e#67247364]

Solution icon of github
via GitHub by johanandren
, 10 months ago
assertion failed: timeout (40 seconds) during expectMsg: Terminated Actor[akka://LatencySpec/user/$p#-975612264]

Stack trace

  • java.lang.AssertionError: assertion failed: expected: Terminated TestActor[akka://AppStartActorTest/user/$$qc] but got unexpected message Terminated(TestActor[akka://AppStartActorTest/user/$$pc]) at scala.Predef$.assert(Predef.scala:170) at akka.testkit.TestKitBase$class.expectMsgPF(TestKit.scala:406) at mesosphere.marathon.upgrade.AppStartActorTest.expectMsgPF(AppStartActorTest.scala:20) at akka.testkit.TestKitBase$class.expectTerminated(TestKit.scala:417) at mesosphere.marathon.upgrade.AppStartActorTest.expectTerminated(AppStartActorTest.scala:20) at mesosphere.marathon.upgrade.AppStartActorTest$$anonfun$3.apply(AppStartActorTest.scala:79) at mesosphere.marathon.upgrade.AppStartActorTest$$anonfun$3.apply(AppStartActorTest.scala:62) 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.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186) at org.scalatest.TestSuite$class.withFixture(TestSuite.scala:196) at mesosphere.marathon.upgrade.AppStartActorTest.withFixture(AppStartActorTest.scala:20) at org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:183) at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196) at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196) at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289) at org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:196) at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfter$$super$runTest(AppStartActorTest.scala:20) at org.scalatest.BeforeAndAfter$class.runTest(BeforeAndAfter.scala:203) at mesosphere.marathon.upgrade.AppStartActorTest.runTest(AppStartActorTest.scala:20) at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229) at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229) 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:379) at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461) at org.scalatest.FunSuiteLike$class.runTests(FunSuiteLike.scala:229) at mesosphere.marathon.upgrade.AppStartActorTest.runTests(AppStartActorTest.scala:20) at org.scalatest.Suite$class.run(Suite.scala:1147) at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$FunSuiteLike$$super$run(AppStartActorTest.scala:20) at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233) at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233) at org.scalatest.SuperEngine.runImpl(Engine.scala:521) at org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:233) at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfter$$super$run(AppStartActorTest.scala:20) at org.scalatest.BeforeAndAfter$class.run(BeforeAndAfter.scala:258) at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfterAll$$super$run(AppStartActorTest.scala:20) at org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:213) at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:210) at mesosphere.marathon.upgrade.AppStartActorTest.run(AppStartActorTest.scala:20) at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:314) at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:480) at sbt.ForkMain$Run$2.call(ForkMain.java:296) at sbt.ForkMain$Run$2.call(ForkMain.java:286) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

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

Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
3 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
21 more bugmates