These are chat archives for akkadotnet/akka.net

5th
Feb 2017
Thomas Tomanek
@thomastomanek
Feb 05 2017 10:05
does anyone know what magic causes the ActorCellKeepingSynchronizationContext to be used by a TestActorRef'd actor but not by a regular LocalActorRef? As far as I can tell the sync context is applied in the testkit as the global SynchronizationContext always
Bartosz Sypytkowski
@Horusiath
Feb 05 2017 10:23
@thomastomanek I'm not sure if I remember correctly, but it may be that testkit actor system runs executing everything in a single thread rather than on the thread pool
Thomas Tomanek
@thomastomanek
Feb 05 2017 10:34
@Horusiath hey, yeah that's it I think. TestActorRef's use callingthreadispatcher by default.
@Horusiath unfortunately breaks any ReceiveAsync on that thread
Bartosz Sypytkowski
@Horusiath
Feb 05 2017 10:35
can you setup an issue on that?
Thomas Tomanek
@thomastomanek
Feb 05 2017 10:36
#2491 :)
Bartosz Sypytkowski
@Horusiath
Feb 05 2017 10:49
:)