Skip to content
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