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

Issue 57423008: Base: Make RegistryOverrideManager support sharded/parallel tests. (Closed)

Created:
7 years, 1 month ago by tommycli
Modified:
7 years, 1 month ago
CC:
chromium-reviews, grt+watch_chromium.org, amit, erikwright+watch_chromium.org, robertshield
Visibility:
Public.

Description

Base: Make RegistryOverrideManager support sharded/parallel tests. BUG=314800 TBR=ajwong@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234367

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 24

Patch Set 4 : #

Patch Set 5 : merge origin master #

Patch Set 6 : #

Patch Set 7 : run git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -92 lines) Patch
M base/base.gyp View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M base/test/test_reg_util_win.h View 1 2 3 1 chunk +35 lines, -20 lines 0 comments Download
M base/test/test_reg_util_win.cc View 1 2 3 4 5 6 2 chunks +68 lines, -31 lines 0 comments Download
A base/test/test_reg_util_win_unittest.cc View 1 2 3 4 5 6 1 chunk +130 lines, -0 lines 0 comments Download
M chrome/installer/gcapi/gcapi_test_registry_overrider.cc View 1 2 3 4 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/installer/setup/setup_util_unittest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/installer/util/product_state_unittest.cc View 1 2 3 4 5 6 4 chunks +3 lines, -17 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome_frame/test/chrome_frame_test_utils.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome_frame/test/util_unittests.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
grt (UTC plus 2)
nice. it'll be good to have this fixed once and for all. https://codereview.chromium.org/57423008/diff/1/base/test/test_reg_util_win_unittest.cc File base/test/test_reg_util_win_unittest.cc ...
7 years, 1 month ago (2013-11-05 03:26:58 UTC) #1
tommycli
https://codereview.chromium.org/57423008/diff/1/base/test/test_reg_util_win_unittest.cc File base/test/test_reg_util_win_unittest.cc (right): https://codereview.chromium.org/57423008/diff/1/base/test/test_reg_util_win_unittest.cc#newcode28 base/test/test_reg_util_win_unittest.cc:28: key.DeleteKey(RegistryOverrideManager::kTempTestKeyPath); On 2013/11/05 03:26:58, grt wrote: > does this ...
7 years, 1 month ago (2013-11-05 03:31:48 UTC) #2
grt (UTC plus 2)
On 2013/11/05 03:31:48, tommycli wrote: > https://codereview.chromium.org/57423008/diff/1/base/test/test_reg_util_win_unittest.cc > File base/test/test_reg_util_win_unittest.cc (right): > > https://codereview.chromium.org/57423008/diff/1/base/test/test_reg_util_win_unittest.cc#newcode28 > ...
7 years, 1 month ago (2013-11-05 03:34:25 UTC) #3
tommycli
Hi. I used the scheme you suggested to update the test. It should not interfere ...
7 years, 1 month ago (2013-11-05 19:03:51 UTC) #4
tommycli
+phajdan.jr, OWNER review for RegistryOverrideManager
7 years, 1 month ago (2013-11-05 19:27:30 UTC) #5
Paweł Hajdan Jr.
Please get an l-g-t-m from a Windows expert before my final stamp. https://codereview.chromium.org/57423008/diff/100002/base/test/test_reg_util_win.cc File base/test/test_reg_util_win.cc ...
7 years, 1 month ago (2013-11-06 20:33:58 UTC) #6
tommycli
phajdan-jr: Addresed your comments. I'll look for a windows expert. https://codereview.chromium.org/57423008/diff/100002/base/test/test_reg_util_win.cc File base/test/test_reg_util_win.cc (right): https://codereview.chromium.org/57423008/diff/100002/base/test/test_reg_util_win.cc#newcode22 ...
7 years, 1 month ago (2013-11-06 21:44:22 UTC) #7
tommycli
+rogerta for Windows review (original author) +cc tommi
7 years, 1 month ago (2013-11-06 22:10:39 UTC) #8
grt (UTC plus 2)
https://codereview.chromium.org/57423008/diff/310001/base/base.gyp File base/base.gyp (right): https://codereview.chromium.org/57423008/diff/310001/base/base.gyp#newcode824 base/base.gyp:824: 'test/test_reg_util_win_unittest.cc', the rules in src/build/filename_rules.gypi should handle this for ...
7 years, 1 month ago (2013-11-07 02:39:33 UTC) #9
tommycli
grt: addressed your comments https://codereview.chromium.org/57423008/diff/310001/base/base.gyp File base/base.gyp (right): https://codereview.chromium.org/57423008/diff/310001/base/base.gyp#newcode824 base/base.gyp:824: 'test/test_reg_util_win_unittest.cc', On 2013/11/07 02:39:33, grt ...
7 years, 1 month ago (2013-11-07 18:02:06 UTC) #10
grt (UTC plus 2)
lgtm w/ final nits https://codereview.chromium.org/57423008/diff/310001/base/test/test_reg_util_win_unittest.cc File base/test/test_reg_util_win_unittest.cc (right): https://codereview.chromium.org/57423008/diff/310001/base/test/test_reg_util_win_unittest.cc#newcode22 base/test/test_reg_util_win_unittest.cc:22: public: On 2013/11/07 18:02:07, tommycli ...
7 years, 1 month ago (2013-11-08 04:33:05 UTC) #11
tommycli
grt: Thanks! I addressed your last comments. phajdan-jr: Got my Windows expert review. Do you ...
7 years, 1 month ago (2013-11-08 16:24:00 UTC) #12
tommi (sloooow) - chröme
fwiw if Greg has signed off on the cl that's good enough for me. I'm ...
7 years, 1 month ago (2013-11-11 13:09:48 UTC) #13
tommycli
phajdan-jr: ping tommi: thx!
7 years, 1 month ago (2013-11-11 18:13:57 UTC) #14
Roger Tawa OOO till Jul 10th
lgtm
7 years, 1 month ago (2013-11-11 20:03:41 UTC) #15
Paweł Hajdan Jr.
LGTM
7 years, 1 month ago (2013-11-11 20:18:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/57423008/690001
7 years, 1 month ago (2013-11-11 20:22:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/57423008/690001
7 years, 1 month ago (2013-11-12 00:14:24 UTC) #18
commit-bot: I haz the power
Change committed as 234367
7 years, 1 month ago (2013-11-12 01:47:04 UTC) #19
gab
7 years, 1 month ago (2013-11-22 03:51:59 UTC) #20
gab
7 years, 1 month ago (2013-11-22 03:54:34 UTC) #21
gab
(Apparently replying doesn't work when issue is closed....) It appears this CL broke compilation rlz_unittest.cc ...
7 years, 1 month ago (2013-11-22 03:55:12 UTC) #22
grt (UTC plus 2)
On 2013/11/22 03:55:12, gab wrote: > (Apparently replying doesn't work when issue is closed....) > ...
7 years, 1 month ago (2013-11-22 14:54:21 UTC) #23
gab
7 years, 1 month ago (2013-11-22 18:03:34 UTC) #24
On 2013/11/22 14:54:21, grt wrote:
> On 2013/11/22 03:55:12, gab wrote:
> > (Apparently replying doesn't work when issue is closed....)
> > 
> > It appears this CL broke compilation rlz_unittest.cc for the unit_tests
target
> > (is RLZ not enabled on the waterfall?).
> > 
> > d:\src\chrome\src\chrome\browser\rlz\rlz_unittest.cc(212) : error C2039:
> > 'kTempTestKeyPath' : is not a member of
> 'registry_util::RegistryOverrideManager'
> >         d:\src\chrome\src\base\test\test_reg_util_win.h(32) : see
declaration
> of
> > 'registry_util::RegistryOverrideManager'
> > d:\src\chrome\src\chrome\browser\rlz\rlz_unittest.cc(212) : error C2065:
> > 'kTempTestKeyPath' : undeclared identifier
> > d:\src\chrome\src\chrome\browser\rlz\rlz_unittest.cc(222) : error C2039:
> > 'kTempTestKeyPath' : is not a member of
> 'registry_util::RegistryOverrideManager'
> >         d:\src\chrome\src\base\test\test_reg_util_win.h(32) : see
declaration
> of
> > 'registry_util::RegistryOverrideManager'
> > d:\src\chrome\src\chrome\browser\rlz\rlz_unittest.cc(222) : error C2065:
> > 'kTempTestKeyPath' : undeclared identifier
> > 
> > Please considering reverting this CL or fixing this ASAP.
> 
> This was reverted in r234627 and reapplied in r235284 following the RLZ fixes
in
> r235090. Is it still failing somewhere?

Ah ok my bad, looks like I haven't synced in a while, I'm on r234510, that would
explain it, thanks!

Powered by Google App Engine
This is Rietveld 408576698