Skip to content

Commit

Permalink
Port Akka.Tests.Actor tests to async/await - BugFix4376Spec (#5768
Browse files Browse the repository at this point in the history
)

Co-authored-by: Gregorius Soedharmo <[email protected]>
  • Loading branch information
eaba and Arkatufus authored Mar 28, 2022
1 parent a364879 commit f49a542
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/Akka.Tests/Actor/BugFix4376Spec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@ public async Task Supervisor_with_Broadcast_Pool_router_should_handle_multiple_c
}

poolActorRef.Tell(2);
ExpectMsg<int>();
ExpectMsg<int>();
ExpectMsg<int>();
ExpectMsg<int>();
ExpectMsg<int>();
ExpectNoMsg(TimeSpan.FromSeconds(1));
await ExpectMsgAsync<int>();
await ExpectMsgAsync<int>();
await ExpectMsgAsync<int>();
await ExpectMsgAsync<int>();
await ExpectMsgAsync<int>();
await ExpectNoMsgAsync(TimeSpan.FromSeconds(1));
}

[Fact]
Expand Down

0 comments on commit f49a542

Please sign in to comment.