DescriptionDeflakify CastStreamingApiTest.EndToEnd, enabling it for Release builds.
An analysis was performed for sources of flakiness in this test. A
number of implementation problems have been resolved in recent changes,
with this change focusing on addressing problems with the test code
itself:
1. Do not require the color to match the tone at the same time. A/V
sync belongs in a perf test.
2. Do not require a color or tone to be held for a full half-second.
Instead, any momentary observation that matches expectations is
sufficient.
3. Only examine the content part of each video frame (i.e., exclude the
surrounding black borders caused by letterboxing).
4. Generate the source content using a canvas and
requestAnimationFrame(). The source content has a little "ball"
animating within it to ensure changing video frames are being sent
through end-to-end.
Also added AES keys to test end-to-end with encryption enabled.
This change re-enables the test for Release builds only. Once the test
has proven to be stable again, it will be re-enabled for Debug builds as
well. Baby steps...
BUG=396413
Committed: https://crrev.com/4b0ebd322e95bd691a510c19b16fb258be86ef51
Cr-Commit-Position: refs/heads/master@{#292539}
Patch Set 1 #Patch Set 2 : Do not block for each tone/color, block once for all. #
Total comments: 2
Patch Set 3 : Disable for OS_CHROMEOS. Audio worked, but video did not. #Patch Set 4 : Capitalization matters. #
Messages
Total messages: 11 (0 generated)
|