Skip to content

Commit

Permalink
Fix ClusterSpec CoordinatedShutdown (#6034)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus authored Jul 6, 2022
1 parent a626bd9 commit 0efdc18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Akka.Cluster.Tests/ClusterSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ public async Task A_cluster_must_leave_via_CoordinatedShutdownRun_when_member_st
await probe.ExpectMsgAsync<ClusterEvent.MemberLeft>();
// MemberExited might not be published before MemberRemoved
var removed = (ClusterEvent.MemberRemoved)await probe.FishForMessageAsync(m => m is ClusterEvent.MemberRemoved);
removed.PreviousStatus.Should().BeEquivalentTo(MemberStatus.Exiting);
new [] {MemberStatus.Exiting, MemberStatus.Leaving}.Should().Contain(removed.PreviousStatus);
}
finally
{
Expand Down

0 comments on commit 0efdc18

Please sign in to comment.