I have a project setup with Akka.Net clustering and sharding and i am trying to write some specflow tests (with MSTest). It all starts and works but as soon as i try to use the sharding, it fails. The system is being shutdown before i get to sending a message a sharded entity.
hocon
akka.scheduler {
implementation = "Akka.TestKit.TestScheduler, Akka.TestKit"
}
trace:
[Debug] 2016-11-04 07:55:42.9779|Default Loggers started
[Info] 2016-11-04 07:55:42.9879|Starting remoting
[Debug] 2016-11-04 07:55:42.9879|Starting prune timer for endpoint manager...
[Info] 2016-11-04 07:55:42.9879|Remoting started; listening on addresses : [akka.tcp://mysystem@localhost:8021]
[Info] 2016-11-04 07:55:42.9879|Remoting now listens on addresses: [akka.tcp://mysystem@localhost:8021]
[Info] 2016-11-04 07:55:43.0309|Cluster Node [akka.tcp://mysystem@localhost:8021] - Starting up...
[Info] 2016-11-04 07:55:43.0818|Cluster Node [akka.tcp://mysystem@localhost:8021] - Started up successfully
[Debug] 2016-11-04 07:55:43.1318|[Uninitialized] Received Akka.Cluster.InternalClusterAction+Subscribe
[Debug] 2016-11-04 07:55:43.1318|[Uninitialized] Received Akka.Cluster.InternalClusterAction+Subscribe
[Debug] 2016-11-04 07:55:43.1318|[Uninitialized] Received Akka.Cluster.InternalClusterAction+JoinSeedNodes
[Debug] 2016-11-04 07:55:43.1418|[Uninitialized] Received Akka.Cluster.ClusterUserAction+JoinTo
[Info] 2016-11-04 07:55:43.2068|Creating SessionManagerActor
[Info] 2016-11-04 07:55:43.2488|Node [akka.tcp://mysystem@localhost:8021] is JOINING, roles []
[Debug] 2016-11-04 07:55:43.3247|created akka://mysystem/user/$a/999/01/THE1_0000000008001
[Debug] 2016-11-04 07:55:43.3247|created akka://mysystem/user/$a/999/01/INLC_0000000008001
[Debug] 2016-11-04 07:55:43.3347|created akka://mysystem/user/$a/999/01/THE1_0000000008002
[Debug] 2016-11-04 07:55:43.3347|created akka://mysystem/user/$a/999/01/INLC_0000000008002
[Info] 2016-11-04 07:55:43.3457|Leader is moving node [akka.tcp://mysystem@localhost:8021] to [Up]
[Debug] 2016-11-04 07:55:43.3457|[Initialized] Received Akka.Cluster.InternalClusterAction+Subscribe
[Debug] 2016-11-04 07:55:43.6186|Creating SessionActor
[Debug] 2016-11-04 07:55:43.6666|[Initialized] Received Akka.Cluster.InternalClusterAction+Subscribe
[Debug] 2016-11-04 07:55:43.6876|new order actor
[Debug] 2016-11-04 07:55:43.6876|opening order 10000000-0000-0000-0000-000000000000
[Debug] 2016-11-04 07:55:43.7046|openened order 0000001
[Info] 2016-11-04 07:55:46.0217|akka://mysystem/user/$a/999/01/THE1_0000000008001 retrieved style 0000000008 with color 001
[Debug] 2016-11-04 07:55:46.8683|adding style 0000000008 color 001 on 1/1/2015 12:00:00 AM
[Debug] 2016-11-04 07:55:46.8683|added style 0000000008 color 001 on 1/1/2015 12:00:00 AM
[Debug] 2016-11-04 07:55:47.6700|System shutdown initiated
[Info] 2016-11-04 07:55:47.6980|Shutting down remote daemon.
[Info] 2016-11-04 07:55:47.6980|Remote daemon shut down; proceeding with flushing remote transports.
[Info] 2016-11-04 07:55:47.7440|Remoting shut down
[Info] 2016-11-04 07:55:47.7440|Remoting shut down.
[Debug] 2016-11-04 07:55:47.7440|Shutting down: StandardOutLogger started
Aucun commentaire:
Enregistrer un commentaire