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

Issue 310103004: Add integraton test for sync backup/rollback. (Closed)

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

Description

Add integraton test for sync backup/rollback. BUG=362679 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276281

Patch Set 1 #

Patch Set 2 : cleanup includes #

Total comments: 22

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : ToT #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : ToT #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+397 lines, -245 lines) Patch
M chrome/browser/sync/test/integration/bookmarks_helper.h View 1 2 3 4 5 6 7 8 6 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/sync/test/integration/bookmarks_helper.cc View 1 2 3 4 5 6 7 8 11 chunks +25 lines, -25 lines 0 comments Download
M chrome/browser/sync/test/integration/cross_platform_sync_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/multiple_client_bookmarks_sync_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/performance/bookmarks_sync_perf_test.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
A chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc View 1 2 3 4 5 6 7 8 1 chunk +133 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc View 1 2 3 4 5 6 7 8 8 chunks +31 lines, -31 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_auth_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/sync_errors_test.cc View 1 2 3 4 5 6 7 8 5 chunks +14 lines, -14 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_exponential_backoff_test.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc View 1 2 3 4 5 6 7 8 68 chunks +152 lines, -152 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M sync/engine/sync_scheduler_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M sync/test/fake_server/fake_server.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M sync/test/fake_server/fake_server.cc View 1 2 3 4 5 3 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
haitaol1
6 years, 6 months ago (2014-06-03 18:55:25 UTC) #1
pval...(no longer on Chromium)
I'm glad the TriggerError prototype worked here. +rlarocque for reviewing the client state verification (you'll ...
6 years, 6 months ago (2014-06-03 22:08:18 UTC) #2
rlarocque
https://codereview.chromium.org/310103004/diff/20001/chrome/browser/sync/profile_sync_service.h File chrome/browser/sync/profile_sync_service.h (right): https://codereview.chromium.org/310103004/diff/20001/chrome/browser/sync/profile_sync_service.h#newcode769 chrome/browser/sync/profile_sync_service.h:769: bool is_syncing() const { How does this differ from ...
6 years, 6 months ago (2014-06-03 22:59:48 UTC) #3
haitaol1
https://codereview.chromium.org/310103004/diff/20001/chrome/browser/sync/profile_sync_service.h File chrome/browser/sync/profile_sync_service.h (right): https://codereview.chromium.org/310103004/diff/20001/chrome/browser/sync/profile_sync_service.h#newcode769 chrome/browser/sync/profile_sync_service.h:769: bool is_syncing() const { That should work too. Removed ...
6 years, 6 months ago (2014-06-04 18:21:29 UTC) #4
rlarocque
https://codereview.chromium.org/310103004/diff/20001/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc File chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc (right): https://codereview.chromium.org/310103004/diff/20001/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc#newcode79 chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc:79: logging::SetMinLogLevel(-1); Remove this before commit? https://codereview.chromium.org/310103004/diff/20001/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc#newcode97 chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc:97: ASSERT_TRUE(checker.Wait()); On ...
6 years, 6 months ago (2014-06-04 18:30:28 UTC) #5
haitaol1
On 2014/06/04 18:30:28, rlarocque wrote: > https://codereview.chromium.org/310103004/diff/20001/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc > File chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc > (right): > > https://codereview.chromium.org/310103004/diff/20001/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc#newcode79 ...
6 years, 6 months ago (2014-06-04 20:17:01 UTC) #6
rlarocque
Two minor comments. Otherwise I have no more comments, so LGTM. https://codereview.chromium.org/310103004/diff/60001/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc File chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc (right): ...
6 years, 6 months ago (2014-06-04 22:54:06 UTC) #7
rlarocque
> > In the real world, outside of tests, what would stop a user from ...
6 years, 6 months ago (2014-06-04 22:55:20 UTC) #8
haitaol1
https://codereview.chromium.org/310103004/diff/60001/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc File chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc (right): https://codereview.chromium.org/310103004/diff/60001/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc#newcode114 chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc:114: // Let server to return rolllback command on next ...
6 years, 6 months ago (2014-06-05 17:44:11 UTC) #9
haitaol1
The CQ bit was checked by haitaol@chromium.org
6 years, 6 months ago (2014-06-05 17:44:21 UTC) #10
pval...(no longer on Chromium)
lgtm https://codereview.chromium.org/310103004/diff/20001/sync/test/fake_server/fake_server.cc File sync/test/fake_server/fake_server.cc (right): https://codereview.chromium.org/310103004/diff/20001/sync/test/fake_server/fake_server.cc#newcode226 sync/test/fake_server/fake_server.cc:226: if (error_type_ != sync_pb::SyncEnums::SUCCESS) { On 2014/06/04 18:21:30, ...
6 years, 6 months ago (2014-06-05 17:46:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haitaol@chromium.org/310103004/80001
6 years, 6 months ago (2014-06-05 17:46:26 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-05 18:25:05 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 18:28:18 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/71916) linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_dbg/builds/31781) linux_chromium_rel ...
6 years, 6 months ago (2014-06-05 18:28:20 UTC) #15
haitaol1
The CQ bit was checked by haitaol@chromium.org
6 years, 6 months ago (2014-06-05 21:14:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haitaol@chromium.org/310103004/100001
6 years, 6 months ago (2014-06-05 21:16:46 UTC) #17
haitaol1
The CQ bit was checked by haitaol@chromium.org
6 years, 6 months ago (2014-06-05 22:55:04 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haitaol@chromium.org/310103004/120001
6 years, 6 months ago (2014-06-05 22:55:26 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-06 03:52:06 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 03:55:45 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/72072)
6 years, 6 months ago (2014-06-06 03:55:46 UTC) #22
haitaol1
The CQ bit was checked by haitaol@chromium.org
6 years, 6 months ago (2014-06-10 21:09:19 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haitaol@chromium.org/310103004/180001
6 years, 6 months ago (2014-06-10 21:12:53 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 03:17:42 UTC) #25
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 06:34:07 UTC) #26
Message was sent while issue was closed.
Change committed as 276281

Powered by Google App Engine
This is Rietveld 408576698