Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluste_aware_router #5933

Merged
merged 2 commits into from
May 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//-----------------------------------------------------------------------

using System;
using System.Threading.Tasks;
using Akka.Actor;
using Akka.Cluster.Routing;
using Akka.Dispatch;
Expand Down Expand Up @@ -39,7 +40,7 @@ public KillableActor(IActorRef testActor)
}

[Fact]
public void Cluster_aware_routers_must_use_provided_supervisor_strategy()
public async Task Cluster_aware_routers_must_use_provided_supervisor_strategy()
{
var escalator = new OneForOneStrategy(
exception =>
Expand All @@ -57,7 +58,7 @@ public void Cluster_aware_routers_must_use_provided_supervisor_strategy()
.Props(Props.Create(() => new KillableActor(TestActor))), "therouter");

router.Tell("go away");
ExpectMsg("supervised");
await ExpectMsgAsync("supervised");
}
}
}
Expand Down