Skip to content

Commit 5dcbf82

Browse files
committed
trying to clear the messgae queue at the start of the test
1 parent 4d1ba3f commit 5dcbf82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Microsoft.AzureHealth.DataServices.Tests/Channels/EventGridChannelTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ public async Task Send_SmallMessage_Test()
110110
[TestMethod]
111111
public async Task Send_LargeMessage_Test()
112112
{
113+
await queueStorage.ClearMessagesAsync(messageQueue);
114+
await queueStorage.ClearMessagesAsync(referenceQueue);
115+
113116
IOptions<EventGridChannelOptions> options = Options.Create<EventGridChannelOptions>(new EventGridChannelOptions()
114117
{
115118
FallbackStorageAccountName = config.EventGridBlobStorageAccountName,

0 commit comments

Comments
 (0)