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

Issue 2299483002: Fixed flaky test: WebRtcVideoChannel2BaseTest.GetStatsMultipleRecvStreams (Closed)

Created:
4 years, 3 months ago by skvlad
Modified:
4 years, 3 months ago
Reviewers:
magjed_webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fixed flaky test: WebRtcVideoChannel2BaseTest.GetStatsMultipleRecvStreams This test has been failing on TSan lately: ../../webrtc/media/base/videoengine_unittest.h:519: Failure Value of: GetReceiverStats(i).frame_width Actual: 0 Expected: DefaultCodec().width Which is: 640 The root cause for the failure appears to be that the stats update (https://cs.chromium.org/chromium/src/third_party/webrtc/video/video_receive_stream.cc?rcl=1472584967&l=353) happens to be after the frame is passed to the renderer - while the test is only waiting for the former. The fix is to give it some extra time using EXPECT_EQ_WAIT instead. Committed: https://crrev.com/a8c94029d82a86c2b16131f8fe6d05f874ac2667 Cr-Commit-Position: refs/heads/master@{#13991}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M webrtc/media/base/videoengine_unittest.h View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
skvlad
Please take a look; this is a trivial change to fix a flaky test (https://build.chromium.org/p/client.webrtc/builders/Linux%20Tsan%20v2/builds/7642)
4 years, 3 months ago (2016-08-31 01:51:51 UTC) #3
magjed_webrtc
lgtm
4 years, 3 months ago (2016-08-31 09:36:55 UTC) #4
mflodman
lgtm
4 years, 3 months ago (2016-08-31 09:43:17 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/2299483002/1
4 years, 3 months ago (2016-08-31 09:50:26 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-31 10:42:34 UTC) #9
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 10:42:43 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a8c94029d82a86c2b16131f8fe6d05f874ac2667
Cr-Commit-Position: refs/heads/master@{#13991}

Powered by Google App Engine
This is Rietveld 408576698