Update a bunch of tests to wait for video frame presentation
All of these tests are currently flaky because they sometimes render without a video frame. Utilize the requestVideoFrameCallback() API to wait for a video frame callback before deciding that the tests are done. Where needed, make sure that test and ref use the same condition for when the test (and ref) should be considered completed. This appears to reduce the rate at which these tests flake, but not completely eliminate the flakiness. Bug: 988248 Change-Id: Ib999646942ec2b1247da6ec61bd4a80a2e8bfbf1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2208866Reviewed-by:srirama chandra sekhar <srirama.m@samsung.com> Reviewed-by:
Thomas Guilbert <tguilbert@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#770711}
Showing
Please register or sign in to comment