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

Issue 2695873004: Fix flaky ViEEncoder unit test. (Closed)

Created:
3 years, 10 months ago by kthelgason
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix flaky ViEEncoder unit test. The flaky test was introduced in ad9010c9836, and is essentially a race where the ViE Encoder has already configured the quality scaler on the encoder thread before we've updated the ScalingSettings. This CL adds a forced reconfiguration of the quality scaler to avoid this issue. BUG=None TBR=sprang@webrtc.org Review-Url: https://codereview.webrtc.org/2695873004 Cr-Commit-Position: refs/heads/master@{#16612} Committed: https://chromium.googlesource.com/external/webrtc/+/b83797bd7a7239049dcdd8d39a304769c3270a41

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M webrtc/video/vie_encoder_unittest.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
kthelgason
Henrik, please take a look.
3 years, 10 months ago (2017-02-14 13:45:34 UTC) #2
kjellander_webrtc
lgtm, but two comments: 1) don't we have a bug for this? 2) I'm not ...
3 years, 10 months ago (2017-02-14 14:48:26 UTC) #7
kjellander_webrtc
+sprang for owners. This test is increasingly annoying due to it's flakiness. Thanks for fixing.
3 years, 10 months ago (2017-02-14 19:34:58 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/2695873004/1
3 years, 10 months ago (2017-02-14 19:38:07 UTC) #12
kthelgason
TBRing sprang to get this landed so the build bots aren't complaining all night.
3 years, 10 months ago (2017-02-14 19:40:36 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/external/webrtc/+/b83797bd7a7239049dcdd8d39a304769c3270a41
3 years, 10 months ago (2017-02-14 19:57:30 UTC) #16
sprang_webrtc
lgtm should that be BUG=chromium:689972, chromium:689915 ?
3 years, 10 months ago (2017-02-15 08:37:06 UTC) #17
kthelgason
3 years, 10 months ago (2017-02-15 08:39:29 UTC) #18
Message was sent while issue was closed.
On 2017/02/15 08:37:06, språng wrote:
> lgtm
> should that be BUG=chromium:689972, chromium:689915 ?

Not really. The test I wrote was flaky, doesn't really have anything to do with
the perf bugs.

Powered by Google App Engine
This is Rietveld 408576698