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

Issue 2721333003: Fix race in WebRtcVideoEngine2Tests, improve coverage. (Closed)

Created:
3 years, 9 months ago by sprang_webrtc
Modified:
3 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix race in WebRtcVideoEngine2Tests, improve coverage. WebRtcVideoEngine2Test.ReconfiguresEncoderOnContentTypeChange was flaky, so fixed that and added a new test case that is similar but that uses fake streams instead to better cover actual encoder creation. I think it makes sense to keep them both. Tested with gtest_parallel using many threads and iterations. BUG=webrtc:7275, webrtc:4172 This CL is deprecated and replaced by https://webrtc-review.googlesource.com/c/src/+/4386

Patch Set 1 #

Total comments: 5

Patch Set 2 : Comments #

Patch Set 3 : s/EXPECT_EQ(false, /EXPECT_FALSE( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -20 lines) Patch
M webrtc/media/engine/fakewebrtccall.cc View 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/media/engine/fakewebrtcvideoengine.h View 1 chunk +5 lines, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 2 6 chunks +113 lines, -18 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
sprang_webrtc
3 years, 9 months ago (2017-03-01 13:52:52 UTC) #2
Taylor Brandstetter
Sorry for my confusion; I'm not the most familiar with this code, though I'd like ...
3 years, 9 months ago (2017-03-02 04:53:08 UTC) #3
sprang_webrtc
> I'm not the most familiar with this code You and me both :) So ...
3 years, 9 months ago (2017-03-02 14:45:08 UTC) #4
Taylor Brandstetter
lgtm; thanks for the explanation. https://codereview.webrtc.org/2721333003/diff/1/webrtc/media/engine/webrtcvideoengine2_unittest.cc File webrtc/media/engine/webrtcvideoengine2_unittest.cc (right): https://codereview.webrtc.org/2721333003/diff/1/webrtc/media/engine/webrtcvideoengine2_unittest.cc#newcode1030 webrtc/media/engine/webrtcvideoengine2_unittest.cc:1030: // Encoder will get ...
3 years, 9 months ago (2017-03-02 19:36:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2721333003/20001
3 years, 9 months ago (2017-03-03 08:51:55 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/21871)
3 years, 9 months ago (2017-03-03 08:55:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2721333003/40001
3 years, 9 months ago (2017-03-03 10:06:57 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/14422)
3 years, 9 months ago (2017-03-03 10:11:08 UTC) #18
sprang_webrtc
3 years, 9 months ago (2017-03-03 10:16:12 UTC) #19
pthatcher1@, ptal as owner

Powered by Google App Engine
This is Rietveld 408576698