From 1f779fe9d979e4567f74d6afd890ee884b526172 Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Tue, 7 Sep 2021 09:47:38 -0500 Subject: [PATCH] disable Actor_PipeTo_should_not_be_delayed_by_async_receive (#5271) 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")));