Skip to content

Commit

Permalink
failing test debug assert
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-grzesiowski committed Sep 23, 2024
1 parent 5ab0b0a commit 863b17a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/UnitTests/PubnubApi.Tests/WhenObjectChannelMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public static async Task Init()

if (!PubnubCommon.PAMServerSideGrant)
{
Assert.Fail("-----TEST FAIL ASSERT-----");
return;
}

Expand Down Expand Up @@ -268,8 +269,6 @@ public static async Task ThenWithAsyncChannelMetadataCRUDShouldReturnSuccessCode

bool receivedMessage = false;

string channelMetadataId = "pandu-ut-sid";

PNConfiguration config = new PNConfiguration(new UserId("mytestuuid"))
{
PublishKey = PubnubCommon.PublishKey,
Expand Down Expand Up @@ -429,8 +428,7 @@ public static void ThenChannelMetadataSetDeleteShouldReturnEventInfo()
bool receivedMessage = false;
bool receivedDeleteEvent = false;
bool receivedUpdateEvent = false;

string channelMetadataId = "pandu-ut-sid";

manualResetEventWaitTimeout = 310 * 1000;

SubscribeCallbackExt eventListener = new SubscribeCallbackExt(
Expand Down Expand Up @@ -572,8 +570,7 @@ public static async Task ThenWithAsyncChannelMetadataUpdateDeleteShouldReturnEve
bool receivedMessage = false;
bool receivedDeleteEvent = false;
bool receivedUpdateEvent = false;

string channelMetadataId = "pandu-ut-sid";

manualResetEventWaitTimeout = 310 * 1000;

SubscribeCallbackExt eventListener = new SubscribeCallbackExt(
Expand Down

0 comments on commit 863b17a

Please sign in to comment.