From 72d8d55a32044d27024e2c0c5d581e8016fa64db Mon Sep 17 00:00:00 2001 From: sacOO7 Date: Thu, 28 Sep 2023 09:46:03 +0530 Subject: [PATCH] Marked test behaviour as flaky sometimes --- src/IO.Ably.Tests.Shared/Realtime/PresenceSandboxSpecs.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/IO.Ably.Tests.Shared/Realtime/PresenceSandboxSpecs.cs b/src/IO.Ably.Tests.Shared/Realtime/PresenceSandboxSpecs.cs index f940e9221..1f4203659 100644 --- a/src/IO.Ably.Tests.Shared/Realtime/PresenceSandboxSpecs.cs +++ b/src/IO.Ably.Tests.Shared/Realtime/PresenceSandboxSpecs.cs @@ -513,6 +513,7 @@ await WaitForMultiple(2, partialDone => [ProtocolData] [Trait("spec", "RTP17")] [Trait("spec", "RTP17b")] + [Trait("behavior", "flaky")] public async Task Presence_ShouldHaveInternalMapForCurrentConnectionId(Protocol protocol) { /* @@ -564,14 +565,12 @@ await WaitForMultiple(2, partialDone => msgA.ConnectionId.Should().Be(clientA.Connection.Id); channelA.Presence.MembersMap.Members.Should().HaveCount(1); channelA.Presence.InternalMembersMap.Members.Should().HaveCount(1); - channelA.Presence.Unsubscribe(); msgB.Should().NotBeNull(); msgB.Action.Should().Be(PresenceAction.Enter); msgB.ConnectionId.Should().NotBe(clientB.Connection.Id); channelB.Presence.MembersMap.Members.Should().HaveCount(1); channelB.Presence.InternalMembersMap.Members.Should().HaveCount(0); - channelB.Presence.Unsubscribe(); msgA = null; msgB = null;