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

Issue 2568543004: [Sync] Enable USS DeviceInfo for bots. (Closed)

Created:
4 years ago by skym
Modified:
4 years ago
Reviewers:
maxbogue, rkaplow
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Enable USS DeviceInfo for bots. As we turn the feature EnableSyncUSSDeviceInfo to handle DeviceInfo with a USS approach instead of via Directory, we want to have the bots testing the new code paths. There were several issues that were fixed before this patch. Here we're only making two changes to fix failing tests. 1. Python sync server implementation is relaxing its restrictions about progress marker. It seemed arbitrarily and pedantic for it to treat empty tokens and non-present tokens differently, so now starts both as first time syncs. This more accurately reflects how the real server handles this case. 2. EnableDisableSingleClientTest no longer tests USS types. As we add more USS types we'll unfortunately have to update this code to exclude those types as well. There isn't a good USS equivalent to checking for top level nodes to see if a type has actual sync data. There is no directory and there are no top level nodes. When USS is completely rolled out we may just want to remove this test class. BUG=650725 Committed: https://crrev.com/ba9ef11b0f803870ef935fa1a024f94b7d364944 Cr-Commit-Position: refs/heads/master@{#439870}

Patch Set 1 #

Patch Set 2 : Actually adding the bot config. #

Patch Set 3 : Rebase, removing fake_server.cc c/p. #

Patch Set 4 : Rebase, depending on device info service init move. #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase. #

Total comments: 2

Patch Set 7 : Rebase and only omit types if uss feature enables them. #

Patch Set 8 : Rebase #

Patch Set 9 : Actually rebasing this time. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -10 lines) Patch
M chrome/browser/sync/test/integration/enable_disable_test.cc View 1 2 3 4 5 6 6 chunks +28 lines, -7 lines 0 comments Download
M components/sync/tools/testserver/chromiumsync.py View 1 chunk +1 line, -3 lines 0 comments Download
M testing/variations/fieldtrial_testing_config.json View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 51 (42 generated)
skym
PTAL maxbogue - sync changes rkaplow - fieldtrial_testing_config.json - this file has the same delta ...
4 years ago (2016-12-13 00:04:36 UTC) #14
skym
On 2016/12/13 00:04:36, skym wrote: > PTAL > > maxbogue - sync changes > rkaplow ...
4 years ago (2016-12-13 16:11:21 UTC) #17
rkaplow
lgtm well, fttc looks fine, but don't submit if broken on windows
4 years ago (2016-12-14 20:41:11 UTC) #22
maxbogue
lgtm https://codereview.chromium.org/2568543004/diff/100001/chrome/browser/sync/test/integration/enable_disable_test.cc File chrome/browser/sync/test/integration/enable_disable_test.cc (right): https://codereview.chromium.org/2568543004/diff/100001/chrome/browser/sync/test/integration/enable_disable_test.cc#newcode52 chrome/browser/sync/test/integration/enable_disable_test.cc:52: return set; Can't you just do return ModelTypeSet(syncer::DeviceInfo); ...
4 years ago (2016-12-19 20:55:45 UTC) #27
skym
4 years ago (2016-12-19 21:19:19 UTC) #29
skym
https://codereview.chromium.org/2568543004/diff/100001/chrome/browser/sync/test/integration/enable_disable_test.cc File chrome/browser/sync/test/integration/enable_disable_test.cc (right): https://codereview.chromium.org/2568543004/diff/100001/chrome/browser/sync/test/integration/enable_disable_test.cc#newcode52 chrome/browser/sync/test/integration/enable_disable_test.cc:52: return set; On 2016/12/19 20:55:45, maxbogue wrote: > Can't ...
4 years ago (2016-12-20 16:11:21 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2568543004/180001
4 years ago (2016-12-20 19:12:33 UTC) #46
commit-bot: I haz the power
Committed patchset #9 (id:180001)
4 years ago (2016-12-20 19:38:37 UTC) #49
commit-bot: I haz the power
4 years ago (2016-12-20 19:42:08 UTC) #51
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/ba9ef11b0f803870ef935fa1a024f94b7d364944
Cr-Commit-Position: refs/heads/master@{#439870}

Powered by Google App Engine
This is Rietveld 408576698