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

Issue 521703002: Fix ProductTest.ProductInstallBasic and InstallerStateTest.InitializeTwice flakes. (Closed)

Created:
6 years, 3 months ago by grt (UTC plus 2)
Modified:
6 years, 3 months ago
Reviewers:
robertshield
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@regtest
Project:
chromium
Visibility:
Public.

Description

Fix ProductTest.ProductInstallBasic and InstallerStateTest.InitializeTwice flakes. Use registry virtualization so that stale data on the test machines don't interfere with the tests. BUG=375739 Committed: https://chromium.googlesource.com/chromium/src/+/6d6ac988d6a7a311876f3b0d0257086ac58c8181 Committed: https://crrev.com/4b1d16a9cbc61817d584c16fe2b3cc79dc0febc2 Cr-Commit-Position: refs/heads/master@{#292822}

Patch Set 1 #

Total comments: 2

Patch Set 2 : robertshield fix #

Total comments: 2

Patch Set 3 : moar #

Patch Set 4 : compile! #

Patch Set 5 : fix for xp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -5 lines) Patch
M chrome/installer/util/installer_state_unittest.cc View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/installer/util/product_unittest.cc View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
grt (UTC plus 2)
Hi Robert, Please take a look at these two test improvements which should resolve some ...
6 years, 3 months ago (2014-08-29 18:42:45 UTC) #3
robertshield
https://codereview.chromium.org/521703002/diff/20001/chrome/installer/util/installer_state_unittest.cc File chrome/installer/util/installer_state_unittest.cc (right): https://codereview.chromium.org/521703002/diff/20001/chrome/installer/util/installer_state_unittest.cc#newcode611 chrome/installer/util/installer_state_unittest.cc:611: PathService::Get(base::DIR_PROGRAM_FILESX86, &temp); Can you instead use ScopedPathOverride to explicitly ...
6 years, 3 months ago (2014-08-29 18:49:20 UTC) #4
grt (UTC plus 2)
PTAL, thanks. https://codereview.chromium.org/521703002/diff/20001/chrome/installer/util/installer_state_unittest.cc File chrome/installer/util/installer_state_unittest.cc (right): https://codereview.chromium.org/521703002/diff/20001/chrome/installer/util/installer_state_unittest.cc#newcode611 chrome/installer/util/installer_state_unittest.cc:611: PathService::Get(base::DIR_PROGRAM_FILESX86, &temp); On 2014/08/29 18:49:20, robertshield wrote: ...
6 years, 3 months ago (2014-08-29 18:58:31 UTC) #5
robertshield
https://codereview.chromium.org/521703002/diff/40001/chrome/installer/util/installer_state_unittest.cc File chrome/installer/util/installer_state_unittest.cc (right): https://codereview.chromium.org/521703002/diff/40001/chrome/installer/util/installer_state_unittest.cc#newcode611 chrome/installer/util/installer_state_unittest.cc:611: base::FilePath(FILE_PATH_LITERAL("C:\\Program Files (x86)"))); Should this path not contain the ...
6 years, 3 months ago (2014-08-29 19:08:41 UTC) #6
grt (UTC plus 2)
PTAL again! https://codereview.chromium.org/521703002/diff/40001/chrome/installer/util/installer_state_unittest.cc File chrome/installer/util/installer_state_unittest.cc (right): https://codereview.chromium.org/521703002/diff/40001/chrome/installer/util/installer_state_unittest.cc#newcode611 chrome/installer/util/installer_state_unittest.cc:611: base::FilePath(FILE_PATH_LITERAL("C:\\Program Files (x86)"))); On 2014/08/29 19:08:40, robertshield ...
6 years, 3 months ago (2014-08-29 19:13:07 UTC) #7
robertshield
lgtm
6 years, 3 months ago (2014-08-29 20:17:37 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:80001) as 6d6ac988d6a7a311876f3b0d0257086ac58c8181
6 years, 3 months ago (2014-08-30 00:21:07 UTC) #10
ckocagil
A revert of this CL (patchset #4 id:80001) has been created in https://codereview.chromium.org/520863005/ by ckocagil@chromium.org. ...
6 years, 3 months ago (2014-08-31 04:27:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/521703002/100001
6 years, 3 months ago (2014-08-31 23:40:25 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:100001) as 190dbe2800433984ccdf9cbcdc7b0d9edaa72905
6 years, 3 months ago (2014-09-01 00:35:34 UTC) #14
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/a12d6132de967aef5c3203bc21cb926a08bfc299 Cr-Commit-Position: refs/heads/master@{#292731}
6 years, 3 months ago (2014-09-10 03:12:15 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:15:13 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4b1d16a9cbc61817d584c16fe2b3cc79dc0febc2
Cr-Commit-Position: refs/heads/master@{#292822}

Powered by Google App Engine
This is Rietveld 408576698