[Video Capture] Fix flakiness in WebRtcVideoCaptureServiceEnumerationBrowserTest
Flakiness was caused by it not being deterministic whether or not adding and removing virtual devices to/from the video capture service would actually take effect before the Renderer requesting to enumerate devices. The fix is to wait for the service to send a confirmation before proceeding to enumerate in the Renderer. Test: content_browsertests --gtest_filter=WebRtcVideoCaptureServiceEnumerationBrowserTest* Bug: 885256, 927714 Change-Id: If942900c419244454378fe6d53f5bb524207ff03 Reviewed-on: https://chromium-review.googlesource.com/c/1450392Reviewed-by:Weiyong Yao <braveyao@chromium.org> Commit-Queue: Christian Fremerey <chfremer@chromium.org> Cr-Commit-Position: refs/heads/master@{#628436}
Showing
Please register or sign in to comment