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

Issue 2837873006: Re-enable formerly flaky tests for the PrerenderingOffliner. (Closed)

Created:
3 years, 8 months ago by Pete Williamson
Modified:
3 years, 7 months ago
Reviewers:
dewittj
CC:
chromium-reviews, cbentzel+watch_chromium.org, dewittj+watch_chromium.org, tburkard+watch_chromium.org, fgorski+watch_chromium.org, romax+watch_chromium.org, petewil+watch_chromium.org, gavinp+prer_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-enable formerly flaky tests for the PrerenderingOffliner. A Sheriff disabled these tests when they were found to be flaky. I've fixed two problems, an uninitialized pointer which might have been causing a crash (previous changelist), and in this changelist a missing call to PumpLoop() causing the test to fail when race conditions happened. BUG=712941 Review-Url: https://codereview.chromium.org/2837873006 Cr-Commit-Position: refs/heads/master@{#467765} Committed: https://chromium.googlesource.com/chromium/src/+/4ab7eea2c4f7ee425a2c38ceab1a84be2fc27daf

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comment fix #

Patch Set 3 : More comment clarification #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -15 lines) Patch
M chrome/browser/android/offline_pages/prerendering_offliner_unittest.cc View 1 2 12 chunks +21 lines, -15 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
Pete Williamson
DewittJ - Please take a look at this unit test re-enable.
3 years, 8 months ago (2017-04-26 01:12:13 UTC) #2
dewittj
https://codereview.chromium.org/2837873006/diff/1/chrome/browser/android/offline_pages/prerendering_offliner_unittest.cc File chrome/browser/android/offline_pages/prerendering_offliner_unittest.cc (right): https://codereview.chromium.org/2837873006/diff/1/chrome/browser/android/offline_pages/prerendering_offliner_unittest.cc#newcode450 chrome/browser/android/offline_pages/prerendering_offliner_unittest.cc:450: // Wait until callback arrives before checking postconditions. Which ...
3 years, 7 months ago (2017-04-27 17:30:52 UTC) #4
Pete Williamson
Updated comments to clarify which callback is being called https://codereview.chromium.org/2837873006/diff/1/chrome/browser/android/offline_pages/prerendering_offliner_unittest.cc File chrome/browser/android/offline_pages/prerendering_offliner_unittest.cc (right): https://codereview.chromium.org/2837873006/diff/1/chrome/browser/android/offline_pages/prerendering_offliner_unittest.cc#newcode450 chrome/browser/android/offline_pages/prerendering_offliner_unittest.cc:450: ...
3 years, 7 months ago (2017-04-27 18:09:19 UTC) #10
dewittj
There is no obvious completion callback here, that's why I was confused. I think you ...
3 years, 7 months ago (2017-04-27 18:17:08 UTC) #11
Pete Williamson
On 2017/04/27 18:17:08, dewittj wrote: > There is no obvious completion callback here, that's why ...
3 years, 7 months ago (2017-04-27 18:29:20 UTC) #13
dewittj
lgtm
3 years, 7 months ago (2017-04-27 18:35:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2837873006/40001
3 years, 7 months ago (2017-04-27 19:38:53 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 20:27:46 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/4ab7eea2c4f7ee425a2c38ceab1a...

Powered by Google App Engine
This is Rietveld 408576698