Skip to content
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

[Linux] Add test logic to verify the subscription state in the Linux tv-casting-app. #33397

Closed
shaoltan-amazon opened this issue May 9, 2024 · 0 comments · Fixed by #33398
Closed
Labels

Comments

@shaoltan-amazon
Copy link
Contributor

Continuing on from #32787, #32918, #33300, and #33343.

There is no CI check to verify that the Linux tv-casting-app is still correctly subscribing to the MediaPlayback Cluster and CurrentState Attribute whenever a PR is created. Therefore, this issue will add the logic needed to the run_tv_casting_test.py file to check the subscription state of the tv-casting-app by finding a ReportDataMessage block with the relevant cluster and attribute values.

Essentially, we will be parsing the output of the Linux tv-casting-app for the relevant ReportDataMessage block and confirm that the tv-casting-app is subscribed to the MediaPlayback cluster and the CurrentState (playback state) attribute. If the relevant ReportDataMessage block is not found within a given timeout, then we will log the error, dump the logs to the console, and exit on error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant