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

Issue 1061473002: Make WebRtcWebcamBrowserTest fail faster. (Closed)

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

Description

Make WebRtcWebcamBrowserTest fail faster. When these tests fail, they time out after a long preriod of time instead of stopping when there's an error. The specific error case I was hitting was that my camera didn't support the highest resolution. The error is to be expected given my configuration, but there's no need to wait for a timeout. R=phoglund@chromium.org Committed: https://crrev.com/e5b3f30d5b078a964e72f2fcec3a3f4fded79492 Cr-Commit-Position: refs/heads/master@{#327017}

Patch Set 1 #

Patch Set 2 : Fix oopsy #

Patch Set 3 : . #

Patch Set 4 : Remove expectation from gUM calls and improve documentation #

Total comments: 3

Patch Set 5 : Address comments #

Patch Set 6 : Fix issue in js code and improve logging of constraints #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -33 lines) Patch
M chrome/browser/media/chrome_media_stream_infobar_browsertest.cc View 1 2 3 4 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/media/chrome_webrtc_getmediadevices_browsertest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/media/chrome_webrtc_webcam_browsertest.cc View 1 2 3 4 1 chunk +7 lines, -6 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.h View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.cc View 1 2 3 4 4 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_common.cc View 1 2 3 3 chunks +10 lines, -1 line 0 comments Download
M chrome/test/data/webrtc/getusermedia.js View 1 2 3 4 5 2 chunks +6 lines, -2 lines 2 comments Download

Messages

Total messages: 16 (1 generated)
tommi (sloooow) - chröme
5 years, 8 months ago (2015-04-03 11:42:43 UTC) #1
tommi (sloooow) - chröme
Fix oopsy
5 years, 8 months ago (2015-04-03 13:37:11 UTC) #2
tommi (sloooow) - chröme
.
5 years, 8 months ago (2015-04-03 13:54:14 UTC) #3
tommi (sloooow) - chröme
Remove expectation from gUM calls and improve documentation
5 years, 8 months ago (2015-04-03 19:11:30 UTC) #4
phoglund_chromium
https://codereview.chromium.org/1061473002/diff/60001/chrome/browser/media/webrtc_browsertest_base.cc File chrome/browser/media/webrtc_browsertest_base.cc (right): https://codereview.chromium.org/1061473002/diff/60001/chrome/browser/media/webrtc_browsertest_base.cc#newcode119 chrome/browser/media/webrtc_browsertest_base.cc:119: return test::PollingWaitUntil("obtainGetUserMediaResult()", kOkGotStream, This is called in five places: ...
5 years, 8 months ago (2015-04-07 08:00:54 UTC) #5
phoglund_chromium
Don't forget this one :) just had some minor comments.
5 years, 8 months ago (2015-04-21 13:38:30 UTC) #6
tommi (sloooow) - chröme
Address comments
5 years, 8 months ago (2015-04-24 13:17:20 UTC) #7
tommi (sloooow) - chröme
https://codereview.chromium.org/1061473002/diff/60001/chrome/browser/media/webrtc_browsertest_base.cc File chrome/browser/media/webrtc_browsertest_base.cc (right): https://codereview.chromium.org/1061473002/diff/60001/chrome/browser/media/webrtc_browsertest_base.cc#newcode119 chrome/browser/media/webrtc_browsertest_base.cc:119: return test::PollingWaitUntil("obtainGetUserMediaResult()", kOkGotStream, On 2015/04/07 08:00:54, phoglund wrote: > ...
5 years, 8 months ago (2015-04-24 13:17:43 UTC) #8
phoglund_chromium
lgtm with last comment fixed https://codereview.chromium.org/1061473002/diff/60001/chrome/browser/media/webrtc_browsertest_base.cc File chrome/browser/media/webrtc_browsertest_base.cc (right): https://codereview.chromium.org/1061473002/diff/60001/chrome/browser/media/webrtc_browsertest_base.cc#newcode119 chrome/browser/media/webrtc_browsertest_base.cc:119: return test::PollingWaitUntil("obtainGetUserMediaResult()", kOkGotStream, On ...
5 years, 8 months ago (2015-04-24 14:04:28 UTC) #9
tommi (sloooow) - chröme
Fix issue in js code and improve logging of constraints
5 years, 7 months ago (2015-04-26 10:52:25 UTC) #10
tommi (sloooow) - chröme
Hej Patrik - I've updated the code and I believe I found an issue with ...
5 years, 7 months ago (2015-04-26 10:55:02 UTC) #11
phoglund_chromium
lgtm https://codereview.chromium.org/1061473002/diff/100001/chrome/test/data/webrtc/getusermedia.js File chrome/test/data/webrtc/getusermedia.js (right): https://codereview.chromium.org/1061473002/diff/100001/chrome/test/data/webrtc/getusermedia.js#newcode79 chrome/test/data/webrtc/getusermedia.js:79: gRequestWebcamAndMicrophoneResult = 'not-called-yet'; On 2015/04/26 10:55:02, tommi wrote: ...
5 years, 7 months ago (2015-04-27 07:46:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1061473002/100001
5 years, 7 months ago (2015-04-27 08:50:19 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-04-27 08:53:43 UTC) #15
commit-bot: I haz the power
5 years, 7 months ago (2015-04-27 08:55:20 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e5b3f30d5b078a964e72f2fcec3a3f4fded79492
Cr-Commit-Position: refs/heads/master@{#327017}

Powered by Google App Engine
This is Rietveld 408576698