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

Issue 267723012: Use FakeServer-based invalidations for Sync tests (try #2) (Closed)

Created:
6 years, 7 months ago by pval...(no longer on Chromium)
Modified:
6 years, 7 months ago
Reviewers:
rlarocque
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Use FakeServer-based invalidations for Sync tests Note: this is a second go-round for this CL. It was originally committed as r267422 but was reverted due to a compile error in some dead code. The dead code was deleted in https://codereview.chromium.org/264773007/ (r267686). See https://codereview.chromium.org/234113002/ for the original CL. This CL creates a new InvalidationService implementation, FakeServerInvalidationService, to remove FakeServer-based tests' dependency on the Python XMPP server. Another major change is that FakeServer's HandleCommand is now executed on the UI thread and locking has been removed from FakeServer itself. BUG=323265 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268311

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -110 lines) Patch
A + chrome/browser/sync/test/integration/fake_server_invalidation_service.h View 2 chunks +20 lines, -32 lines 0 comments Download
A chrome/browser/sync/test/integration/fake_server_invalidation_service.cc View 1 chunk +87 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.h View 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 10 chunks +48 lines, -15 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +2 lines, -0 lines 1 comment Download
M sync/test/fake_server/fake_server.h View 6 chunks +40 lines, -23 lines 0 comments Download
M sync/test/fake_server/fake_server.cc View 11 chunks +43 lines, -28 lines 0 comments Download
M sync/test/fake_server/fake_server_http_post_provider.h View 5 chunks +18 lines, -2 lines 0 comments Download
M sync/test/fake_server/fake_server_http_post_provider.cc View 1 5 chunks +35 lines, -8 lines 0 comments Download
M sync/test/fake_server/fake_server_network_resources.cc View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
pval...(no longer on Chromium)
6 years, 7 months ago (2014-05-02 20:27:44 UTC) #1
rlarocque
https://codereview.chromium.org/267723012/diff/1/sync/test/fake_server/fake_server_http_post_provider.cc File sync/test/fake_server/fake_server_http_post_provider.cc (right): https://codereview.chromium.org/267723012/diff/1/sync/test/fake_server/fake_server_http_post_provider.cc#newcode87 sync/test/fake_server/fake_server_http_post_provider.cc:87: const int kTimeoutSecs = 5; Is a timeout really ...
6 years, 7 months ago (2014-05-02 20:51:21 UTC) #2
pval...(no longer on Chromium)
https://codereview.chromium.org/267723012/diff/1/sync/test/fake_server/fake_server_http_post_provider.cc File sync/test/fake_server/fake_server_http_post_provider.cc (right): https://codereview.chromium.org/267723012/diff/1/sync/test/fake_server/fake_server_http_post_provider.cc#newcode87 sync/test/fake_server/fake_server_http_post_provider.cc:87: const int kTimeoutSecs = 5; On 2014/05/02 20:51:21, rlarocque ...
6 years, 7 months ago (2014-05-05 18:33:36 UTC) #3
rlarocque
lgtm
6 years, 7 months ago (2014-05-05 18:38:36 UTC) #4
pval...(no longer on Chromium)
The CQ bit was checked by pvalenzuela@chromium.org
6 years, 7 months ago (2014-05-05 19:54:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pvalenzuela@chromium.org/267723012/20001
6 years, 7 months ago (2014-05-05 19:55:57 UTC) #6
commit-bot: I haz the power
6 years, 7 months ago (2014-05-05 23:23:49 UTC) #7
Message was sent while issue was closed.
Change committed as 268311

Powered by Google App Engine
This is Rietveld 408576698