From 5f78de1620b3420c57421c9d4b56e11fb6e54560 Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Tue, 7 Sep 2021 09:41:03 -0500 Subject: [PATCH] disable Actor_PipeTo_should_not_be_delayed_by_async_receive so the `PipeTo` _can_ be delayed because it's running inside the `ActorTaskScheduler`, which also schedules the `Task.Delay` below. --- .../ReceivePersistentActorAsyncAwaitSpec.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Akka.Persistence.Tests/ReceivePersistentActorAsyncAwaitSpec.cs b/src/core/Akka.Persistence.Tests/ReceivePersistentActorAsyncAwaitSpec.cs index 4ffcdbd4aca..d42af7d9a36 100644 --- a/src/core/Akka.Persistence.Tests/ReceivePersistentActorAsyncAwaitSpec.cs +++ b/src/core/Akka.Persistence.Tests/ReceivePersistentActorAsyncAwaitSpec.cs @@ -621,7 +621,7 @@ public void ActorTaskScheduler_reentrancy_should_not_be_possible() ExpectNoMsg(1000); } - [Fact] + [Fact(Skip = "Racy - both Tasks run inside the same scheduler with max concurrency == 1")] public void Actor_PipeTo_should_not_be_delayed_by_async_receive() { var actor = Sys.ActorOf(Props.Create(() => new AsyncPipeToDelayActor("pid")));