From c44e28e70da1d862a7ff66f54e54926b659edbb1 Mon Sep 17 00:00:00 2001 From: Gregorius Soedharmo Date: Mon, 17 May 2021 23:11:19 +0700 Subject: [PATCH] Enable skipped specs, they're working now --- src/core/Akka.Persistence.Tests/PersistentActorSpec.cs | 6 +++--- .../Akka.Persistence.Tests/PersistentActorSpecAsyncAwait.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/Akka.Persistence.Tests/PersistentActorSpec.cs b/src/core/Akka.Persistence.Tests/PersistentActorSpec.cs index 74cdbbae343..d6a044c6fcf 100644 --- a/src/core/Akka.Persistence.Tests/PersistentActorSpec.cs +++ b/src/core/Akka.Persistence.Tests/PersistentActorSpec.cs @@ -135,7 +135,7 @@ public void PersistentActor_should_allow_behavior_changes_in_event_handler_as_la ExpectMsgInOrder("a-1", "a-2", "b-0", "c-30", "c-31", "c-32", "d-0", "e-30", "e-31", "e-32"); } - [Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")] + [Fact] public void PersistentActor_should_support_snapshotting() { var pref = ActorOf(Props.Create(() => new SnapshottingPersistentActor(Name, TestActor))); @@ -152,7 +152,7 @@ public void PersistentActor_should_support_snapshotting() ExpectMsgInOrder("a-1", "a-2", "b-41", "b-42", "c-41", "c-42"); } - [Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")] + [Fact] public void PersistentActor_should_support_Context_Become_during_recovery() { var pref = ActorOf(Props.Create(() => new SnapshottingPersistentActor(Name, TestActor))); @@ -433,7 +433,7 @@ public void PersistentActor_should_invoke_deferred_handlers_preserving_the_origi ExpectNoMsg(TimeSpan.FromMilliseconds(100)); } - [Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")] + [Fact] public void PersistentActor_should_receive_RecoveryFinished_if_it_is_handled_after_all_events_have_been_replayed() { var pref = ActorOf(Props.Create(() => new SnapshottingPersistentActor(Name, TestActor))); diff --git a/src/core/Akka.Persistence.Tests/PersistentActorSpecAsyncAwait.cs b/src/core/Akka.Persistence.Tests/PersistentActorSpecAsyncAwait.cs index c68b8c02b7a..24c321e5543 100644 --- a/src/core/Akka.Persistence.Tests/PersistentActorSpecAsyncAwait.cs +++ b/src/core/Akka.Persistence.Tests/PersistentActorSpecAsyncAwait.cs @@ -134,7 +134,7 @@ public void PersistentActor_should_allow_behavior_changes_in_event_handler_as_la ExpectMsgInOrder("a-1", "a-2", "b-0", "c-30", "c-31", "c-32", "d-0", "e-30", "e-31", "e-32"); } - [Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")] + [Fact] public void PersistentActor_should_support_snapshotting() { var pref = ActorOf(Props.Create(() => new SnapshottingPersistentActor(Name, TestActor))); @@ -151,7 +151,7 @@ public void PersistentActor_should_support_snapshotting() ExpectMsgInOrder("a-1", "a-2", "b-41", "b-42", "c-41", "c-42"); } - [Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")] + [Fact] public void PersistentActor_should_support_Context_Become_during_recovery() { var pref = ActorOf(Props.Create(() => new SnapshottingPersistentActor(Name, TestActor))); @@ -432,7 +432,7 @@ public void PersistentActor_should_invoke_deferred_handlers_preserving_the_origi ExpectNoMsg(TimeSpan.FromMilliseconds(100)); } - [Fact(Skip = "Need https://github.com/akkadotnet/akka.net/pull/3668 merged")] + [Fact] public void PersistentActor_should_receive_RecoveryFinished_if_it_is_handled_after_all_events_have_been_replayed() { var pref = ActorOf(Props.Create(() => new SnapshottingPersistentActor(Name, TestActor)));