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

Issue 2005663002: Make unload tests stable. (Closed)

Created:
4 years, 7 months ago by Mikhail Goncharov
Modified:
4 years, 7 months ago
Reviewers:
Charlie Reis, sky, Wez
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, jam, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, darin-cc_chromium.org, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make unload tests stable. During unload tab has only one second to respond. If machine is busy doing other tests renderer host might think that tab is unresponsive and close it while test expecting the tab to react. You can easily reproduce the failure by setting RenderViewHostImpl::kUnloadTimeoutMS = 1 There are other tests that fail with that modification (ex. UnloadTest.BrowserCloseBeforeUnloadCancel) but they are not flacky and I kept them intact. BUG=519646 R=creis@chromium.org,sky@chromium.org Committed: https://crrev.com/812bb854380007efc5852037af26632797053e90 Cr-Commit-Position: refs/heads/master@{#395693}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address review, fix new tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -53 lines) Patch
M blimp/engine/feature/engine_render_widget_feature_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/lifetime/browser_close_manager_browsertest.cc View 1 27 chunks +73 lines, -53 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Charlie Reis
Looks pretty good to me! Just a few nits about comments below, and let's rebase ...
4 years, 7 months ago (2016-05-23 17:03:30 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005663002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005663002/1
4 years, 7 months ago (2016-05-23 17:04:10 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-23 19:12:05 UTC) #6
Mikhail Goncharov
On 2016/05/23 17:03:30, Charlie Reis (slow to reply) wrote: > Looks pretty good to me! ...
4 years, 7 months ago (2016-05-24 04:43:21 UTC) #8
Charlie Reis
LGTM, thanks! wez@: Can you stamp for blimp/? sky@: Can you stamp for chrome/? (I'll ...
4 years, 7 months ago (2016-05-24 19:14:14 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005663002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005663002/20001
4 years, 7 months ago (2016-05-24 19:14:52 UTC) #12
sky
Rubber stamp LGTM
4 years, 7 months ago (2016-05-24 20:44:51 UTC) #13
Wez
blimp/ LGTM
4 years, 7 months ago (2016-05-24 20:48:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005663002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005663002/20001
4 years, 7 months ago (2016-05-24 20:56:03 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-24 21:10:57 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 21:13:44 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/812bb854380007efc5852037af26632797053e90
Cr-Commit-Position: refs/heads/master@{#395693}

Powered by Google App Engine
This is Rietveld 408576698