From f49a54231797e93e6851f1d934aca409cd730d1c Mon Sep 17 00:00:00 2001 From: Ebere Abanonu Date: Mon, 28 Mar 2022 22:02:48 +0100 Subject: [PATCH] Port `Akka.Tests.Actor` tests to `async/await` - `BugFix4376Spec` (#5768) Co-authored-by: Gregorius Soedharmo --- src/core/Akka.Tests/Actor/BugFix4376Spec.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/Akka.Tests/Actor/BugFix4376Spec.cs b/src/core/Akka.Tests/Actor/BugFix4376Spec.cs index f2dc42d35a5..9de435dd101 100644 --- a/src/core/Akka.Tests/Actor/BugFix4376Spec.cs +++ b/src/core/Akka.Tests/Actor/BugFix4376Spec.cs @@ -185,12 +185,12 @@ public async Task Supervisor_with_Broadcast_Pool_router_should_handle_multiple_c } poolActorRef.Tell(2); - ExpectMsg(); - ExpectMsg(); - ExpectMsg(); - ExpectMsg(); - ExpectMsg(); - ExpectNoMsg(TimeSpan.FromSeconds(1)); + await ExpectMsgAsync(); + await ExpectMsgAsync(); + await ExpectMsgAsync(); + await ExpectMsgAsync(); + await ExpectMsgAsync(); + await ExpectNoMsgAsync(TimeSpan.FromSeconds(1)); } [Fact]