Skip to content

Commit 15b7066

Browse files
Fixing test and typeo (Azure#35226)
Co-authored-by: Min Woo Lee 🧊 <77083090+minwoolee-ms@users.noreply.github.com>
1 parent b7efe81 commit 15b7066

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

sdk/communication/Azure.Communication.CallAutomation/src/CallAutomationClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ public virtual CallRecording GetCallRecording()
730730
}
731731
}
732732

733-
/// <summary>Get CallAtumation's EventProcessor for handling Call Automation's event more easily.</summary>
733+
/// <summary>Get Call Automation's EventProcessor for handling Call Automation's event more easily.</summary>
734734
public virtual CallAutomationEventProcessor GetEventProcessor()
735735
{
736736
using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallAutomationClient)}.{nameof(GetEventProcessor)}");

sdk/communication/Azure.Communication.CallAutomation/tests/Infrastructure/CallAutomationClientAutomatedLiveTestsBase.cs

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,15 @@ public void TestSetup()
7676
[TearDown]
7777
public async Task CleanUp()
7878
{
79-
await DeRegisterCallBackWithDispatcher();
80-
await _recordedEventListener.DisposeAsync();
81-
_eventstore.Clear();
82-
_incomingcontextstore.Clear();
83-
await Task.CompletedTask;
79+
try
80+
{
81+
await _recordedEventListener.DisposeAsync();
82+
_eventstore.Clear();
83+
_incomingcontextstore.Clear();
84+
await Task.CompletedTask;
85+
}
86+
catch
87+
{ }
8488
}
8589

8690
public bool SkipCallingServerInteractionLiveTests

0 commit comments

Comments
 (0)