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

Issue 395503004: sync: Refactor themes sync integration tests (Closed)

Created:
6 years, 5 months ago by rlarocque
Modified:
6 years, 5 months ago
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

sync: Refactor themes sync integration tests Rewrites the themes sync integration tests so they no longer depend on AwaitQuiescence() or related functions. Removes racy themes tests. They don't offer significantly better coverage than non-racy tests. Most of them were flaky and partially disabled. Adds or modifies existing tests so we have some coverage of both model association and ProcessSyncChanges(). BUG=97780, 95742, 84575, 304554 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283629

Patch Set 1 #

Patch Set 2 : More comments #

Total comments: 9

Patch Set 3 : Address some review comments #

Patch Set 4 : Address some review comments #

Total comments: 1

Patch Set 5 : Disable self-notifications #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -188 lines) Patch
M chrome/browser/sync/test/integration/themes_helper.h View 1 2 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/sync/test/integration/themes_helper.cc View 1 2 3 chunks +191 lines, -4 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_themes_sync_test.cc View 1 2 3 4 3 chunks +63 lines, -179 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rlarocque
Here's another integration test refactoring. Please review.
6 years, 5 months ago (2014-07-15 20:26:21 UTC) #1
pval...(no longer on Chromium)
https://codereview.chromium.org/395503004/diff/20001/chrome/browser/sync/test/integration/themes_helper.cc File chrome/browser/sync/test/integration/themes_helper.cc (right): https://codereview.chromium.org/395503004/diff/20001/chrome/browser/sync/test/integration/themes_helper.cc#newcode85 chrome/browser/sync/test/integration/themes_helper.cc:85: // but they do occasionally check that the ThemeService ...
6 years, 5 months ago (2014-07-15 20:34:47 UTC) #2
rlarocque
Thanks for the quick review. Patch uploaded. PTAL. https://codereview.chromium.org/395503004/diff/20001/chrome/browser/sync/test/integration/themes_helper.cc File chrome/browser/sync/test/integration/themes_helper.cc (right): https://codereview.chromium.org/395503004/diff/20001/chrome/browser/sync/test/integration/themes_helper.cc#newcode85 chrome/browser/sync/test/integration/themes_helper.cc:85: // ...
6 years, 5 months ago (2014-07-15 20:47:01 UTC) #3
rlarocque
https://codereview.chromium.org/395503004/diff/60001/chrome/browser/sync/test/integration/two_client_themes_sync_test.cc File chrome/browser/sync/test/integration/two_client_themes_sync_test.cc (right): https://codereview.chromium.org/395503004/diff/60001/chrome/browser/sync/test/integration/two_client_themes_sync_test.cc#newcode27 chrome/browser/sync/test/integration/two_client_themes_sync_test.cc:27: I just noticed that I forgot to set the ...
6 years, 5 months ago (2014-07-15 23:41:16 UTC) #4
pval...(no longer on Chromium)
lgtm https://codereview.chromium.org/395503004/diff/20001/chrome/browser/sync/test/integration/two_client_themes_sync_test.cc File chrome/browser/sync/test/integration/two_client_themes_sync_test.cc (right): https://codereview.chromium.org/395503004/diff/20001/chrome/browser/sync/test/integration/two_client_themes_sync_test.cc#newcode56 chrome/browser/sync/test/integration/two_client_themes_sync_test.cc:56: // TODO(sync): Add functions to simulate when a ...
6 years, 5 months ago (2014-07-16 00:03:46 UTC) #5
rlarocque
Self-notifications are now disabled. Haitao: ping.
6 years, 5 months ago (2014-07-16 00:59:11 UTC) #6
haitaol1
lgtm
6 years, 5 months ago (2014-07-16 16:37:53 UTC) #7
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 5 months ago (2014-07-16 17:14:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/395503004/80001
6 years, 5 months ago (2014-07-16 17:16:39 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 22:27:09 UTC) #10
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 03:51:05 UTC) #11
Message was sent while issue was closed.
Change committed as 283629

Powered by Google App Engine
This is Rietveld 408576698