Skip to content

Commit 38092cb

Browse files
authored
Enable IdenticalDialogsTest and add Recordings (Azure#37976)
1 parent e2018b0 commit 38092cb

File tree

5 files changed

+1076
-6
lines changed

5 files changed

+1076
-6
lines changed

sdk/communication/Azure.Communication.CallAutomation/tests/CallDialogs/CallDialogAutomatedLiveTests.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ public async Task DifferingConcurrentDialogsTest()
250250
}
251251
}
252252

253-
[Ignore(reason:"Running a StartDialog with a request twice is currently bugged to come up as an update")]
254253
[RecordedTest]
255254
public async Task IdenticalDialogsTest()
256255
{
@@ -343,11 +342,6 @@ public async Task IdenticalDialogsTest()
343342
dialogResponse = await callDialog.StartDialogAsync(dialogOptions).ConfigureAwait(false);
344343
Assert.AreEqual(StatusCodes.Status201Created, dialogResponse.GetRawResponse().Status);
345344

346-
// wait for DialogStarted event
347-
dialogStartedReceived = await WaitForEvent<DialogStarted>(targetCallConnectionId, TimeSpan.FromSeconds(20));
348-
Assert.NotNull(dialogStartedReceived);
349-
Assert.IsTrue(dialogStartedReceived is DialogStarted);
350-
351345
// stop the dialog
352346
var stopDialogResponse = await callDialog.StopDialogAsync(dialogId).ConfigureAwait(false);
353347
Assert.AreEqual(StatusCodes.Status204NoContent, stopDialogResponse.GetRawResponse().Status);

0 commit comments

Comments
 (0)