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

Issue 2130083002: Re-enable DataReductionPromoInfoBar tests and fix flakiness (Closed)

Created:
4 years, 5 months ago by megjablon
Modified:
4 years, 5 months ago
Reviewers:
gone
CC:
chromium-reviews, Peter Wen
Base URL:
https://chromium.googlesource.com/chromium/src.git@settingsPage
Target Ref:
refs/pending/branch-heads/2785
Project:
chromium
Visibility:
Public.

Description

Re-enable DataReductionPromoInfoBar tests and fix flakiness StrictMode violation was from Calendar.getInstance() reading the /etc/timezone file. Whitelist the StrictMode violation to be fixed. Tests were flaky because the UI thread would not always launch the InfoBar before calling addInfoBarAnimationFinished(). Run the UI thread blocking so that the InfoBar has always been launched. BUG=625038, 577185, 627038 Committed: https://crrev.com/8fcd3f03a3a531f12bb291dc8665834d85511c23 Committed: https://crrev.com/ca4f3ba8a3522dbaf066b18465cf4cc322cdfb24 Cr-Original-Commit-Position: refs/heads/master@{#404506} Cr-Commit-Position: refs/heads/master@{#405545}

Patch Set 1 #

Patch Set 2 : strict mode fix #

Patch Set 3 : remove null check #

Patch Set 4 : include other file reads #

Total comments: 5

Patch Set 5 : test changes #

Patch Set 6 : add field trial #

Patch Set 7 : move calendar instantiation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -52 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java View 1 2 3 4 5 6 3 chunks +40 lines, -30 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java View 1 2 3 4 5 12 chunks +46 lines, -22 lines 0 comments Download

Messages

Total messages: 40 (22 generated)
megjablon
PTAL, thanks! I found out using the calendar on the UI thread was causing the ...
4 years, 5 months ago (2016-07-07 23:31:10 UTC) #3
gone
lgtm, +wnwen as StrictMode FYI
4 years, 5 months ago (2016-07-07 23:37:54 UTC) #4
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/2130083002/60001
4 years, 5 months ago (2016-07-08 22:02:56 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 5 months ago (2016-07-08 22:07:14 UTC) #10
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-08 22:07:33 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/8fcd3f03a3a531f12bb291dc8665834d85511c23 Cr-Commit-Position: refs/heads/master@{#404506}
4 years, 5 months ago (2016-07-08 22:09:25 UTC) #13
picksi1
A revert of this CL (patchset #3 id:60001) has been created in https://codereview.chromium.org/2135193002/ by picksi@chromium.org. ...
4 years, 5 months ago (2016-07-11 10:16:55 UTC) #14
gone
Heads up: when using the same issue, you need to manually "Edit issue" and mark ...
4 years, 5 months ago (2016-07-12 20:01:30 UTC) #17
gone
https://chromiumcodereview.appspot.com/2130083002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java (right): https://chromiumcodereview.appspot.com/2130083002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java#newcode91 chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java:91: Moving all of this code into this try block ...
4 years, 5 months ago (2016-07-12 23:28:08 UTC) #18
megjablon
https://chromiumcodereview.appspot.com/2130083002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java (right): https://chromiumcodereview.appspot.com/2130083002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java#newcode91 chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java:91: On 2016/07/12 23:28:07, dfalcantara wrote: > Moving all of ...
4 years, 5 months ago (2016-07-13 01:03:28 UTC) #20
gone
Eh third try's the charm, I suppose. lgtm from a test standpoint. https://chromiumcodereview.appspot.com/2130083002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java ...
4 years, 5 months ago (2016-07-13 01:09:04 UTC) #21
megjablon
On 2016/07/13 01:09:04, dfalcantara wrote: > Eh third try's the charm, I suppose. lgtm from ...
4 years, 5 months ago (2016-07-13 01:28:28 UTC) #22
megjablon
On 2016/07/13 01:28:28, megjablon wrote: > On 2016/07/13 01:09:04, dfalcantara wrote: > > Eh third ...
4 years, 5 months ago (2016-07-13 19:09:14 UTC) #23
gone
lgtm
4 years, 5 months ago (2016-07-13 21:14:41 UTC) #24
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/2130083002/160001
4 years, 5 months ago (2016-07-13 21:47:09 UTC) #28
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/2130083002/160001
4 years, 5 months ago (2016-07-14 19:34:23 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 5 months ago (2016-07-14 19:39:55 UTC) #37
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 19:42:15 UTC) #39
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ca4f3ba8a3522dbaf066b18465cf4cc322cdfb24
Cr-Commit-Position: refs/heads/master@{#405545}

Powered by Google App Engine
This is Rietveld 408576698