-
Notifications
You must be signed in to change notification settings - Fork 7
RDKEMW-11763 : Intermittent failure on Testframework while running entservices-mediaanddrm workflows #142
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: develop
Are you sure you want to change the base?
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
This PR resolves test failures by fixing invalid JSON syntax in test cases and addressing timing issues in L2 tests.
Key changes:
- Fixed malformed JSON test inputs by replacing incomplete field values with valid empty strings
- Increased sleep durations in timing-sensitive playback control tests to reduce flakiness
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Tests/L2Tests/tests/LinearPlaybackControl_L2Test.cpp | Increased sleep durations from 100ms to 500ms in GetTrickplay_Test to allow sufficient time for file operations and state propagation |
| Tests/L1Tests/tests/test_TextToSpeech.cpp | Fixed invalid JSON syntax in four test cases by replacing incomplete field values (e.g., "speechid": }) with valid empty strings ("speechid": "") |
The changes in this PR are straightforward bug fixes. The test_TextToSpeech.cpp changes correct invalid JSON syntax that would have caused parsing errors. The LinearPlaybackControl_L2Test.cpp changes address potential race conditions by providing more time for asynchronous operations to complete before assertions are made.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…neration when the caller source is Testframework
…must build every time
…rs to prevent duplicate definitions
…ld needing Communicator mock
… in testframework
… avoid duplicate definitions
Reason for change: Resolve intermittent failures while running tests on testframework repo
Test Procedure: Run L1, L2, L2-OOP(If applicable)
Risks: Low
Priority: P0
Version:minor