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

test: Remove bogus MediaSourceEngine test case #6465

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

joeyparrish
Copy link
Member

MediaSourceEngine does not, in fact, preserve SourceBuffer properties when we reset it to switch codecs. This is handled by StreamingEngine instead, through a follow-up call to setStreamProperties.

The test only ever passed as originally written because there was a missing await on an async reset process.

This removes the bogus test.

Related to #6458, #6462

MediaSourceEngine does not, in fact, preserve SourceBuffer properties
when we reset it to switch codecs.  This is handled by StreamingEngine
instead, through a follow-up call to setStreamProperties.

The test only ever passed as originally written because there was a
missing `await` on an async reset process.

This removes the bogus test.

Related to shaka-project#6458, shaka-project#6462
@avelad avelad added the component: tests The issue involves our automated tests (generally; otherwise use a more specific component) label Apr 22, 2024
@avelad avelad added this to the v4.8 milestone Apr 22, 2024
@joeyparrish joeyparrish merged commit 3ed91db into shaka-project:main Apr 22, 2024
18 of 20 checks passed
@joeyparrish joeyparrish deleted the drop-bogus-test branch April 22, 2024 15:32
@shaka-bot
Copy link
Collaborator

Incremental code coverage: No instrumented code was changed.

joeyparrish added a commit that referenced this pull request May 7, 2024
MediaSourceEngine does not, in fact, preserve SourceBuffer properties
when we reset it to switch codecs. This is handled by StreamingEngine
instead, through a follow-up call to setStreamProperties.

The test only ever passed as originally written because there was a
missing `await` on an async reset process.

This removes the bogus test.

Related to #6458, #6462
joeyparrish added a commit that referenced this pull request May 7, 2024
MediaSourceEngine does not, in fact, preserve SourceBuffer properties
when we reset it to switch codecs. This is handled by StreamingEngine
instead, through a follow-up call to setStreamProperties.

The test only ever passed as originally written because there was a
missing `await` on an async reset process.

This removes the bogus test.

Related to #6458, #6462
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Jun 21, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: tests The issue involves our automated tests (generally; otherwise use a more specific component) status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants