-
Notifications
You must be signed in to change notification settings - Fork 5k
FixGetRecordingTest #50222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
FixGetRecordingTest #50222
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Enables and augments the live GetRecordingTest by removing its skip, adding playback and delays to generate valid recordings, introduces corresponding recorded JSON fixtures, and updates the asset tag.
- Un-commented the
[Ignore]
onGetRecordingTest
, added audio playback viaPlayToAllAsync
and fixed delays before stopping and fetching recordings. - Added new recorded test fixtures (
GetRecordingTest.json
andGetRecordingTestAsync.json
) capturing the full sequence of call events. - Bumped the
Tag
inassets.json
to reference the updated recorded fixtures.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
File | Description |
---|---|
sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/GetRecordingTestAsync.json | New JSON fixture for asynchronous recording retrieval events. |
sdk/communication/Azure.Communication.CallAutomation/tests/SessionRecordedEvents/CallRecordingAutomatedLiveTests/GetRecordingTest.json | New JSON fixture for synchronous recording retrieval events. |
sdk/communication/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingAutomatedLiveTests.cs | Enabled GetRecordingTest , added playback, delays, and updated logic. |
sdk/communication/Azure.Communication.CallAutomation/assets.json | Updated Tag to match new recorded test assets. |
...n/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingAutomatedLiveTests.cs
Outdated
Show resolved
Hide resolved
...n/Azure.Communication.CallAutomation/tests/CallRecordings/CallRecordingAutomatedLiveTests.cs
Show resolved
Hide resolved
@@ -0,0 +1,64 @@ | |||
{ | |||
"entries": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The two JSON fixtures for sync and async tests share almost identical data; consider extracting common event sequences into a shared helper or fixture to reduce duplication.
Copilot uses AI. Check for mistakes.
219523c
to
94f2fd1
Compare
bf2c5e7
to
94f2fd1
Compare
d8569ce
to
94f2fd1
Compare
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.