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

Issue 483883003: [Sync] Fix backup/rollback tests race conditions (Closed)

Created:
6 years, 4 months ago by Nicolas Zea
Modified:
6 years, 4 months ago
Reviewers:
haitaol1
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] Fix backup/rollback tests race conditions The rollback tests now listen to both the ProfileSyncService state as well as for the completion of the browsing data remover. The shutdown observer now also listens directly to the ProfileSyncService, rather than polling every second. BUG=406005 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291269

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -61 lines) Patch
M chrome/browser/sync/profile_sync_service.h View 3 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 5 chunks +23 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc View 8 chunks +88 lines, -52 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
Nicolas Zea
PTAL. Note that I had to remove the check to see if the backup directory ...
6 years, 4 months ago (2014-08-21 20:28:13 UTC) #1
haitaol1
https://codereview.chromium.org/483883003/diff/1/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/483883003/diff/1/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc#newcode431 chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc:431: SyncRollbackChecker rollback_checker(GetSyncService(0)); You always check rollback and backend shutdown ...
6 years, 4 months ago (2014-08-21 20:50:32 UTC) #2
Nicolas Zea
https://codereview.chromium.org/483883003/diff/1/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/483883003/diff/1/chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc#newcode431 chrome/browser/sync/test/integration/single_client_backup_rollback_test.cc:431: SyncRollbackChecker rollback_checker(GetSyncService(0)); On 2014/08/21 20:50:32, haitaol1 wrote: > You ...
6 years, 4 months ago (2014-08-21 20:52:32 UTC) #3
haitaol1
lgtm
6 years, 4 months ago (2014-08-21 21:00:15 UTC) #4
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 4 months ago (2014-08-21 21:03:17 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/483883003/1
6 years, 4 months ago (2014-08-21 21:06:34 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-21 22:19:30 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 00:30:17 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (1) as 291269

Powered by Google App Engine
This is Rietveld 408576698