Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Issue 3399002: Stabilize sync integration tests (Closed)

Created:
10 years, 3 months ago by Raghu Simha
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ncarter (slow), idana, Raghu Simha, cbentzel+watch_chromium.org, pam+watch_chromium.org, darin-cc_chromium.org, tim (not reviewing), Paweł Hajdan Jr.
Visibility:
Public.

Description

Stabilize sync integration tests This patch contains more updates to the ProfileSyncServiceTestHarness class, in light of recent changes to the sync startup sequence, and new tests that require support for offline scenarios. BUG=53858, 54743, 52007 TEST=sync_integration_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59463

Patch Set 1 #

Patch Set 2 : Lint fix. #

Patch Set 3 : More fixes. #

Patch Set 4 : Revamp startup logic. #

Patch Set 5 : Undo FLAKY annotations. #

Total comments: 6

Patch Set 6 : Non-hardcoded timeouts. #

Total comments: 8

Patch Set 7 : Rename "sync operation" to "live operation". #

Total comments: 4

Patch Set 8 : Final batch of changes. #

Patch Set 9 : Merging with trunk. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -210 lines) Patch
M chrome/test/live_sync/live_sync_test.h View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/test/live_sync/live_sync_test.cc View 1 2 3 chunks +7 lines, -34 lines 0 comments Download
M chrome/test/live_sync/many_client_live_bookmarks_sync_test.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/live_sync/many_client_live_preferences_sync_test.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/live_sync/profile_sync_service_test_harness.h View 1 2 3 4 5 4 chunks +21 lines, -11 lines 0 comments Download
M chrome/test/live_sync/profile_sync_service_test_harness.cc View 1 2 3 4 5 6 7 12 chunks +109 lines, -85 lines 0 comments Download
M chrome/test/live_sync/single_client_live_bookmarks_sync_test.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -32 lines 0 comments Download
M chrome/test/test_switches.h View 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/test_switches.cc View 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/test_timeouts.h View 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/test/test_timeouts.cc View 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M net/tools/testserver/chromiumsync.py View 1 2 3 4 5 6 7 8 2 chunks +1 line, -14 lines 0 comments Download
M net/tools/testserver/testserver.py View 2 chunks +0 lines, -24 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Raghu Simha
Sending this out for preliminary review by timsteele. Might have to revisit startup logic.
10 years, 3 months ago (2010-09-14 04:28:40 UTC) #1
Paweł Hajdan Jr.
Drive-by with some test comments. Please do not commit without my explicit "LGTM". http://codereview.chromium.org/3399002/diff/8001/9005 File ...
10 years, 3 months ago (2010-09-14 17:11:25 UTC) #2
Raghu Simha
This is now ready for review by timsteele for startup logic changes, and phajdan for ...
10 years, 3 months ago (2010-09-14 21:15:08 UTC) #3
Paweł Hajdan Jr.
Just a small naming comment. http://codereview.chromium.org/3399002/diff/15001/16011 File chrome/test/test_timeouts.h (right): http://codereview.chromium.org/3399002/diff/15001/16011#newcode48 chrome/test/test_timeouts.h:48: // Timeout to wait ...
10 years, 3 months ago (2010-09-14 21:20:35 UTC) #4
Raghu Simha
http://codereview.chromium.org/3399002/diff/15001/16011 File chrome/test/test_timeouts.h (right): http://codereview.chromium.org/3399002/diff/15001/16011#newcode48 chrome/test/test_timeouts.h:48: // Timeout to wait for a sync operation to ...
10 years, 3 months ago (2010-09-14 21:27:45 UTC) #5
tim (not reviewing)
http://codereview.chromium.org/3399002/diff/15001/16005 File chrome/test/live_sync/profile_sync_service_test_harness.cc (right): http://codereview.chromium.org/3399002/diff/15001/16005#newcode136 chrome/test/live_sync/profile_sync_service_test_harness.cc:136: if (!GetStatus().server_reachable) { what makes this error case special? ...
10 years, 3 months ago (2010-09-14 21:34:58 UTC) #6
Paweł Hajdan Jr.
Code I commented in the drive-by LGTM with two comments. http://codereview.chromium.org/3399002/diff/22001/23010 File chrome/test/test_timeouts.cc (right): http://codereview.chromium.org/3399002/diff/22001/23010#newcode56 ...
10 years, 3 months ago (2010-09-14 21:43:44 UTC) #7
Raghu Simha
http://codereview.chromium.org/3399002/diff/15001/16005 File chrome/test/live_sync/profile_sync_service_test_harness.cc (right): http://codereview.chromium.org/3399002/diff/15001/16005#newcode136 chrome/test/live_sync/profile_sync_service_test_harness.cc:136: if (!GetStatus().server_reachable) { On 2010/09/14 21:34:58, timsteele wrote: > ...
10 years, 3 months ago (2010-09-14 22:16:43 UTC) #8
tim (not reviewing)
10 years, 3 months ago (2010-09-14 22:23:58 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698