Fix flakiness in new WMPI::Load() tests.
Expecting readyStateChanged() to quit the message loop and do nothing else appears to be unreliable due to us having configured our ScopedTaskEnvironment for asynchronous execution. Switching to a manually queued version would be painfully verbose given all the happenings of the underlying demuxers and decoders; so instead wait for loading to complete instead of quitting mid-way through the loading process. BUG=831566 TEST=tests don't flake under tsan. Change-Id: If59ab647bb349bf996050545bb63b0e65cc471e2 Reviewed-on: https://chromium-review.googlesource.com/1011642 Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Chrome Cunningham <chcunningham@chromium.org> Reviewed-by:Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#550506}
Showing
Please register or sign in to comment