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

Issue 2479313004: [sync] "TwoClientBookmarksSyncTest.Sanity" is flaky (Closed)

Created:
4 years, 1 month ago by Patrick Noland
Modified:
4 years, 1 month ago
Reviewers:
Nicolas Zea, pavely
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sync] "TwoClientBookmarksSyncTest.Sanity" is flaky Reduce flakiness in TwoClientBookmarksSyncTest by: 1) Reducing the nudge delay for sync to 1 ms 2) Switching to BookmarksMatchChecker.Wait(), which isn't prone to the "stale snapshot" race condition. Reducing the nudge delay applies to and should speed up all the sync integration tests, not just the TwoClientBookmarks ones. Only pairs of AwaitQuiescence|AwaitMutualSyncCycleCompletion AllModelsMatch(Verifier?)() Were converted to use the new pattern. BUG=660655 R=zea@chromium.org, pavely@chromium.org Committed: https://crrev.com/3b8f13960ccb28bf854a91f05878b95529c32d79 Cr-Commit-Position: refs/heads/master@{#431376}

Patch Set 1 #

Total comments: 12

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -262 lines) Patch
M chrome/browser/sync/test/integration/bookmarks_helper.h View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/bookmarks_helper.cc View 2 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc View 82 chunks +127 lines, -254 lines 0 comments Download
M components/sync/driver/glue/sync_backend_host_impl.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/sync/driver/sync_driver_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/sync/driver/sync_driver_switches.cc View 1 1 chunk +8 lines, -1 line 0 comments Download
M components/sync/engine/engine_components_factory.h View 2 chunks +6 lines, -0 lines 0 comments Download
M components/sync/engine/engine_components_factory_impl.cc View 3 chunks +25 lines, -3 lines 0 comments Download
M components/sync/engine_impl/sync_scheduler_impl.h View 1 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Patrick Noland
Pavel & Zea, PTAL
4 years, 1 month ago (2016-11-07 22:06:07 UTC) #5
pavely
lgtm
4 years, 1 month ago (2016-11-09 00:09:40 UTC) #6
Nicolas Zea
LGTM with some nits, and a question about the cookie jar mismatch. https://codereview.chromium.org/2479313004/diff/1/chrome/browser/sync/test/integration/bookmarks_helper.cc File chrome/browser/sync/test/integration/bookmarks_helper.cc ...
4 years, 1 month ago (2016-11-09 00:35:13 UTC) #7
Patrick Noland
https://codereview.chromium.org/2479313004/diff/1/chrome/browser/sync/test/integration/bookmarks_helper.cc File chrome/browser/sync/test/integration/bookmarks_helper.cc (right): https://codereview.chromium.org/2479313004/diff/1/chrome/browser/sync/test/integration/bookmarks_helper.cc#newcode907 chrome/browser/sync/test/integration/bookmarks_helper.cc:907: BookmarksMatchVerifierChecker::BookmarksMatchVerifierChecker() On 2016/11/09 00:35:12, Nicolas Zea wrote: > FYI ...
4 years, 1 month ago (2016-11-10 22:13:00 UTC) #13
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/2479313004/40001
4 years, 1 month ago (2016-11-10 22:13:34 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 1 month ago (2016-11-10 22:21:11 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/3b8f13960ccb28bf854a91f05878b95529c32d79 Cr-Commit-Position: refs/heads/master@{#431376}
4 years, 1 month ago (2016-11-10 23:10:12 UTC) #19
hiroshige
4 years, 1 month ago (2016-11-11 08:28:33 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:40001) has been created in
https://codereview.chromium.org/2494633005/ by hiroshige@chromium.org.

The reason for reverting is: Suspected to cause
TwoClientUssSyncTest.ConflictResolution flaky failures:
https://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=Tw...
.

Powered by Google App Engine
This is Rietveld 408576698