Skip to content

Commit 2f092b0

Browse files
authored
Cluste_aware_router (#5933)
1 parent beea03b commit 2f092b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/core/Akka.Cluster.Tests/Routing/ClusterRouterSupervisorSpec.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//-----------------------------------------------------------------------
77

88
using System;
9+
using System.Threading.Tasks;
910
using Akka.Actor;
1011
using Akka.Cluster.Routing;
1112
using Akka.Dispatch;
@@ -39,7 +40,7 @@ public KillableActor(IActorRef testActor)
3940
}
4041

4142
[Fact]
42-
public void Cluster_aware_routers_must_use_provided_supervisor_strategy()
43+
public async Task Cluster_aware_routers_must_use_provided_supervisor_strategy()
4344
{
4445
var escalator = new OneForOneStrategy(
4546
exception =>
@@ -57,7 +58,7 @@ public void Cluster_aware_routers_must_use_provided_supervisor_strategy()
5758
.Props(Props.Create(() => new KillableActor(TestActor))), "therouter");
5859

5960
router.Tell("go away");
60-
ExpectMsg("supervised");
61+
await ExpectMsgAsync("supervised");
6162
}
6263
}
6364
}

0 commit comments

Comments
 (0)