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

Issue 2876029: Refactor the wait code in ProfileSyncServiceTestHarness. (Closed)

Created:
10 years, 5 months ago by Raghu Simha
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), Paweł Hajdan Jr., tim (not reviewing), idana
Visibility:
Public.

Description

Refactor the wait code in ProfileSyncServiceTestHarness. The sync integration tests use the methods defined in the ProfileSyncServiceTestHarness class to coordinate various sync related activities carried out by each test case. The sync codebase has ungergone significant change since this class was originally implemented. In this checkin, the class has been refactored to match the sync codebase. The pass rate for integration tests went up from ~20% to 90+% with this checkin. BUG=44957 TEST=sync_integration_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51500

Patch Set 1 #

Patch Set 2 : Getting rid of the wait for OnBackendInitialized(). #

Total comments: 2

Patch Set 3 : Making test timeout a const int. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -24 lines) Patch
M chrome/test/live_sync/live_sync_test.h View 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/live_sync/profile_sync_service_test_harness.h View 1 2 chunks +9 lines, -4 lines 0 comments Download
M chrome/test/live_sync/profile_sync_service_test_harness.cc View 1 6 chunks +29 lines, -20 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Raghu Simha
10 years, 5 months ago (2010-07-01 04:10:29 UTC) #1
Raghu Simha
This now has the changes we talked about today, and is ready for review.
10 years, 5 months ago (2010-07-01 23:47:40 UTC) #2
tim (not reviewing)
LGTM http://codereview.chromium.org/2876029/diff/3001/4001 File chrome/test/live_sync/live_sync_test.h (right): http://codereview.chromium.org/2876029/diff/3001/4001#newcode59 chrome/test/live_sync/live_sync_test.h:59: InProcessBrowserTest::SetInitialTimeoutInMS(300000); nit - please make this a constant ...
10 years, 5 months ago (2010-07-01 23:50:34 UTC) #3
Raghu Simha
10 years, 5 months ago (2010-07-02 00:06:15 UTC) #4
http://codereview.chromium.org/2876029/diff/3001/4001
File chrome/test/live_sync/live_sync_test.h (right):

http://codereview.chromium.org/2876029/diff/3001/4001#newcode59
chrome/test/live_sync/live_sync_test.h:59:
InProcessBrowserTest::SetInitialTimeoutInMS(300000);
On 2010/07/01 23:50:34, timsteele wrote:
> nit - please make this a constant at the top of the file.

Done.

Powered by Google App Engine
This is Rietveld 408576698