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 @@ -68,15 +68,15 @@ public ClusterRouterAsk1343BugFixSpec()
{
}


[Fact]
public async Task Should_Ask_Clustered_Pool_Router_and_forward_ask_to_routee()
{
var router = Sys.ActorOf(EchoActor.Props(this, true).WithRouter(FromConfig.Instance), "router1");
Assert.IsType<RoutedActorRef>(router);

var result = await router.Ask<string>("foo");
ExpectMsg<string>().ShouldBe(result);
(await ExpectMsgAsync<string>()).ShouldBe(result);
}

[Fact]
Expand All @@ -87,7 +87,7 @@ public async Task Should_Ask_Clustered_Group_Router_and_forward_ask_to_routee()
Assert.IsType<RoutedActorRef>(router);

var result = await router.Ask<string>("foo");
ExpectMsg<string>().ShouldBe(result);
(await ExpectMsgAsync<string>()).ShouldBe(result);
}

[Fact]
Expand Down