Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Issue 1483533003: Fix teardown of a couple of test suites

Created:
5 years ago by tommi (sloooow) - chröme
Modified:
5 years ago
Reviewers:
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix teardown of a couple of test suites. The MediaStreamManagerTest constructs and deletes the MediaStreamManager (MSM) on an IO thread, which differs from Chrome. This requires special care when tearing down the test. The IO thread in VideoCaptureControllerTest outlives the MSM which can cause pending messages on the IO thread for the MSM to be pending after the MSM has gone out of scope. This is also different from how things work in Chrome, so needs to be fixed. BUG=562378

Patch Set 1 #

Patch Set 2 : Revert MSM test change. #

Patch Set 3 : New runloop #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M content/browser/renderer_host/media/media_stream_manager_unittest.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 4 (2 generated)
tommi (sloooow) - chröme
Revert MSM test change.
5 years ago (2015-11-27 09:57:55 UTC) #3
tommi (sloooow) - chröme
5 years ago (2015-11-27 10:45:57 UTC) #4
New runloop

Powered by Google App Engine
This is Rietveld 408576698