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

Issue 2150583002: Fix ArcAppModelBuilderTest (Closed)

Created:
4 years, 5 months ago by Luis Héctor Chávez
Modified:
4 years, 5 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, tapted, yusukes+watch_chromium.org, tfarina, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, Matt Giuca
Base URL:
https://chromium.googlesource.com/a/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ArcAppModelBuilderTest Several tests in this suite were flaky. This change: * Sets up a real I/O thread for the ExtensionsService and sets the profile mapping in case the garbage collector kicks in. * Does a better job of waiting for the icons to be loaded. * Uniformly disables safe icon decoding since it introduces extra thread hops that are difficult to synchronize for. BUG=627853 BUG=624446 TEST=./unit_tests --gtest-filter=ArcAppModelBuilderTest* TEST=for each test: ./unit_tests --gtest-filter=${t} --single-process-tests Committed: https://crrev.com/4303e815b33c5d970e210ca9edd2b6bafedc8ad3 Cr-Commit-Position: refs/heads/master@{#405643}

Patch Set 1 #

Patch Set 2 : Also fix other tests in the suite #

Total comments: 10

Patch Set 3 : Addressed feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -61 lines) Patch
M chrome/browser/chromeos/profiles/profile_helper.h View 1 4 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/app_list_test_util.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_test.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_test.cc View 1 3 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_unittest.cc View 1 2 12 chunks +61 lines, -56 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
Luis Héctor Chávez
PTAL
4 years, 5 months ago (2016-07-13 16:26:05 UTC) #3
Luis Héctor Chávez
xiyuan PTAL * This should make tests less flaky
4 years, 5 months ago (2016-07-14 22:41:29 UTC) #11
Luis Héctor Chávez
https://codereview.chromium.org/2150583002/diff/20001/chrome/browser/chromeos/profiles/profile_helper.h File chrome/browser/chromeos/profiles/profile_helper.h (right): https://codereview.chromium.org/2150583002/diff/20001/chrome/browser/chromeos/profiles/profile_helper.h#newcode8 chrome/browser/chromeos/profiles/profile_helper.h:8: #include <map> `git cl lint` asked me to do ...
4 years, 5 months ago (2016-07-14 22:44:32 UTC) #12
xiyuan
lgtm Just nits. https://codereview.chromium.org/2150583002/diff/20001/chrome/browser/chromeos/profiles/profile_helper.h File chrome/browser/chromeos/profiles/profile_helper.h (right): https://codereview.chromium.org/2150583002/diff/20001/chrome/browser/chromeos/profiles/profile_helper.h#newcode8 chrome/browser/chromeos/profiles/profile_helper.h:8: #include <map> On 2016/07/14 22:44:32, Luis ...
4 years, 5 months ago (2016-07-14 22:59:33 UTC) #13
Luis Héctor Chávez
https://codereview.chromium.org/2150583002/diff/20001/chrome/browser/ui/app_list/arc/arc_app_unittest.cc File chrome/browser/ui/app_list/arc/arc_app_unittest.cc (right): https://codereview.chromium.org/2150583002/diff/20001/chrome/browser/ui/app_list/arc/arc_app_unittest.cc#newcode816 chrome/browser/ui/app_list/arc/arc_app_unittest.cc:816: } while (base::PathExists(app_path)); On 2016/07/14 22:59:32, xiyuan wrote: > ...
4 years, 5 months ago (2016-07-14 23:25:45 UTC) #16
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/2150583002/40001
4 years, 5 months ago (2016-07-14 23:26:21 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-15 00:04:21 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-15 00:04:43 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 00:05:42 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4303e815b33c5d970e210ca9edd2b6bafedc8ad3
Cr-Commit-Position: refs/heads/master@{#405643}

Powered by Google App Engine
This is Rietveld 408576698