Skip to content

Commit

Permalink
disable sync thread dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Jan 23, 2024
1 parent caf93d7 commit 30897ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/Akka.TestKit/TestKitBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,9 @@ public IActorRef CreateTestActor(string name)

private IActorRef CreateTestActor(ActorSystem system, string name)
{
var testActorProps = Props.Create(() => new InternalTestActor(new BlockingCollectionTestActorQueue<MessageEnvelope>(_testState.Queue)))
.WithDispatcher("akka.test.test-actor.dispatcher");
var testActorProps = Props.Create(() =>
new InternalTestActor(new BlockingCollectionTestActorQueue<MessageEnvelope>(_testState.Queue)));
//.WithDispatcher("akka.test.test-actor.dispatcher");
var testActor = system.AsInstanceOf<ActorSystemImpl>().SystemActorOf(testActorProps, name);
return testActor;
}
Expand Down

0 comments on commit 30897ff

Please sign in to comment.