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

Issue 2337843003: Speculatively deflake some web app tests on low-end Lollipop. (Closed)

Created:
4 years, 3 months ago by dominickn
Modified:
4 years, 3 months ago
Reviewers:
gone
CC:
chromium-reviews, dominickn+watch_chromium.org, Theresa, gsennton
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Speculatively deflake some web app tests on low-end Lollipop. This attempts to deflake two tests which flake on the Lollipop low-end tester. WebappSplashScreenIconTest#setUp decodes a string into a bitmap, which is then encoded back into a string. Remove both of these steps so that the string is directly inserted into WebappDataStorage. This speculatively deflakes WebappSplashScreenIconTest#testShowSplashScreen, which has a criteria takes too long timeout. WebappSplashScreenTest#testUmaWhenSplashHides fails an assert for a histogram value representing the number of milliseconds that the splashscreen was shown. On the theory that the slow device is showing the splash screen for longer, the speculative fix is to check more of the histogram buckets. BUG=636633 Committed: https://crrev.com/d19c087b9bfdf76a8af91e2f0a0e791bf2ffcafa Cr-Commit-Position: refs/heads/master@{#418438}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappSplashScreenIconTest.java View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappSplashScreenTest.java View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (8 generated)
dominickn
PTAL, thanks!
4 years, 3 months ago (2016-09-13 08:31:02 UTC) #4
gone
lgtm Huh. Would be interesting if this works. https://codereview.chromium.org/2337843003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java File chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java (right): https://codereview.chromium.org/2337843003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java#newcode272 chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java:272: @VisibleForTesting ...
4 years, 3 months ago (2016-09-13 17:05:12 UTC) #7
dominickn
Thanks! https://codereview.chromium.org/2337843003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java File chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java (right): https://codereview.chromium.org/2337843003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java#newcode272 chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java:272: @VisibleForTesting On 2016/09/13 17:05:12, dfalcantara wrote: > updateSplashBlahBlahForTests? ...
4 years, 3 months ago (2016-09-13 23:40:43 UTC) #8
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/2337843003/20001
4 years, 3 months ago (2016-09-13 23:41:24 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-14 00:27:37 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 00:29:51 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d19c087b9bfdf76a8af91e2f0a0e791bf2ffcafa
Cr-Commit-Position: refs/heads/master@{#418438}

Powered by Google App Engine
This is Rietveld 408576698