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

Issue 7477004: Simulate transient error and verify exponential backoff. (Closed)

Created:
9 years, 5 months ago by lipalani1
Modified:
9 years, 4 months ago
CC:
chromium-reviews, ncarter (slow), idana, cbentzel+watch_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org
Visibility:
Public.

Description

Simulate transient error and verify exponential backoff. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96515

Patch Set 1 #

Patch Set 2 : For review. #

Patch Set 3 : For review. #

Total comments: 8

Patch Set 4 : Fixing a style violation. #

Patch Set 5 : Fixing a typo. #

Total comments: 40

Patch Set 6 : For review. #

Total comments: 21

Patch Set 7 : For review. #

Total comments: 20

Patch Set 8 : For review. #

Total comments: 1

Patch Set 9 : For review. #

Total comments: 6

Patch Set 10 : For review. #

Patch Set 11 : For review. #

Patch Set 12 : For review. #

Total comments: 5

Patch Set 13 : Upload before commit. #

Patch Set 14 : Upload before commit. #

Patch Set 15 : Upload before commit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -33 lines) Patch
M chrome/browser/sync/backend_migrator_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/all_status.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/process_updates_command.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/sync/engine/syncer.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/sync/engine/syncer_end_command.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sync/js/js_sync_manager_observer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +34 lines, -0 lines 0 comments Download
A chrome/browser/sync/retry_verifier.h View 1 2 3 4 5 6 7 8 9 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/sync/retry_verifier.cc View 1 2 3 4 5 6 7 8 9 1 chunk +112 lines, -0 lines 0 comments Download
M chrome/browser/sync/sessions/session_state.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/sync/sessions/session_state.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/sync/sessions/session_state_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/sync/sessions/status_controller.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/sync/sessions/status_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/sync/sessions/status_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/sync/sessions/sync_session.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/test_profile_sync_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/live_sync/live_sync_test.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/live_sync/live_sync_test.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/live_sync/sync_errors_test.cc View 1 2 3 4 5 6 7 8 1 chunk +15 lines, -0 lines 0 comments Download
M net/tools/testserver/chromiumsync.py View 1 2 3 4 5 6 chunks +23 lines, -0 lines 0 comments Download
M net/tools/testserver/chromiumsync_test.py View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 2 3 4 5 6 2 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
lipalani1
Test cases to verify exponential backoff algorithm. Includes client test case changes, fake server changes ...
9 years, 5 months ago (2011-07-26 16:10:54 UTC) #1
Jói
Just a drive-by, no change necessary: Are you aware of net/base/backoff_entry.h and .cc which serves ...
9 years, 5 months ago (2011-07-27 12:50:14 UTC) #2
tim (not reviewing)
On 2011/07/27 12:50:14, Jói wrote: > Just a drive-by, no change necessary: Are you aware ...
9 years, 4 months ago (2011-07-27 17:02:48 UTC) #3
tim (not reviewing)
On 2011/07/27 17:02:48, timsteele wrote: > On 2011/07/27 12:50:14, Jói wrote: > > Just a ...
9 years, 4 months ago (2011-07-27 18:14:05 UTC) #4
Jói
SGTM On Wed, Jul 27, 2011 at 6:14 PM, <tim@chromium.org> wrote: > On 2011/07/27 17:02:48, ...
9 years, 4 months ago (2011-07-27 23:35:27 UTC) #5
ncarter (slow)
http://codereview.chromium.org/7477004/diff/5001/net/tools/testserver/chromiumsync.py File net/tools/testserver/chromiumsync.py (right): http://codereview.chromium.org/7477004/diff/5001/net/tools/testserver/chromiumsync.py#newcode102 net/tools/testserver/chromiumsync.py:102: The style guide requires 2 blank lines between top-level ...
9 years, 4 months ago (2011-07-29 18:52:17 UTC) #6
Raghu Simha
Tim suggested I do a drive-by, following which I have a few comments. Please let ...
9 years, 4 months ago (2011-08-05 18:04:52 UTC) #7
Raghu Simha
Also, please make sure that the BUG= and TEST= fields in the patch description are ...
9 years, 4 months ago (2011-08-05 18:07:51 UTC) #8
lipalani1
Fixed all the comments. Raghu - please review. Nick - sorry for not fixing your ...
9 years, 4 months ago (2011-08-05 21:33:55 UTC) #9
ncarter (slow)
python parts LGTM; 1 nit http://codereview.chromium.org/7477004/diff/22001/net/tools/testserver/testserver.py File net/tools/testserver/testserver.py (right): http://codereview.chromium.org/7477004/diff/22001/net/tools/testserver/testserver.py#newcode1496 net/tools/testserver/testserver.py:1496: Needs another blank line ...
9 years, 4 months ago (2011-08-05 22:44:17 UTC) #10
Raghu Simha
Getting there :) A few more (mostly minor) comments from me. http://codereview.chromium.org/7477004/diff/22001/chrome/browser/sync/profile_sync_service_harness.cc File chrome/browser/sync/profile_sync_service_harness.cc (right): ...
9 years, 4 months ago (2011-08-05 22:45:09 UTC) #11
lipalani1
Removing the other reviewers. Raghu - please review once more. http://codereview.chromium.org/7477004/diff/22001/chrome/browser/sync/profile_sync_service_harness.cc File chrome/browser/sync/profile_sync_service_harness.cc (right): http://codereview.chromium.org/7477004/diff/22001/chrome/browser/sync/profile_sync_service_harness.cc#newcode20 ...
9 years, 4 months ago (2011-08-05 23:09:29 UTC) #12
Raghu Simha
Changes to chrome/test/live_sync and profile_sync_service_harness LGTM pending a couple more minor comments and pending green ...
9 years, 4 months ago (2011-08-05 23:23:58 UTC) #13
lipalani1
Nicolas - can you go over the rest of the changes under chrome/browser/sync.
9 years, 4 months ago (2011-08-08 16:22:42 UTC) #14
lipalani1
Tim - Raghu has gone through all the test changes including the PSSH and other ...
9 years, 4 months ago (2011-08-08 20:32:30 UTC) #15
tim (not reviewing)
http://codereview.chromium.org/7477004/diff/20004/chrome/browser/sync/retry_verifier.cc File chrome/browser/sync/retry_verifier.cc (right): http://codereview.chromium.org/7477004/diff/20004/chrome/browser/sync/retry_verifier.cc#newcode15 chrome/browser/sync/retry_verifier.cc:15: DelayInfo CalculateDelay(int64 current_delay) { this should be in a ...
9 years, 4 months ago (2011-08-08 23:11:35 UTC) #16
lipalani1
Please review once more. http://codereview.chromium.org/7477004/diff/20004/chrome/browser/sync/profile_sync_service_harness.cc File chrome/browser/sync/profile_sync_service_harness.cc (right): http://codereview.chromium.org/7477004/diff/20004/chrome/browser/sync/profile_sync_service_harness.cc#newcode373 chrome/browser/sync/profile_sync_service_harness.cc:373: VLOG(1) << GetClientInfoString("WAIT_FOR_NOTHING"); On 2011/08/05 ...
9 years, 4 months ago (2011-08-09 01:39:01 UTC) #17
Raghu Simha
http://codereview.chromium.org/7477004/diff/30001/chrome/browser/sync/profile_sync_service_harness.cc File chrome/browser/sync/profile_sync_service_harness.cc (right): http://codereview.chromium.org/7477004/diff/30001/chrome/browser/sync/profile_sync_service_harness.cc#newcode502 chrome/browser/sync/profile_sync_service_harness.cc:502: retry_verifier_.Initialize(*GetLastSessionSnapshot()); On 2011/08/05 23:23:58, rsimha wrote: > On 2011/08/05 ...
9 years, 4 months ago (2011-08-09 04:28:05 UTC) #18
lipalani1
Tim - Please review. Fixed Raghu's feedback as well.
9 years, 4 months ago (2011-08-09 19:47:33 UTC) #19
tim (not reviewing)
http://codereview.chromium.org/7477004/diff/32001/chrome/browser/sync/engine/syncer.cc File chrome/browser/sync/engine/syncer.cc (right): http://codereview.chromium.org/7477004/diff/32001/chrome/browser/sync/engine/syncer.cc#newcode119 chrome/browser/sync/engine/syncer.cc:119: session->status_controller()->set_syncing(true); Why are we making this change? What do ...
9 years, 4 months ago (2011-08-09 19:57:47 UTC) #20
lipalani1
Tim - please review. http://codereview.chromium.org/7477004/diff/32001/chrome/browser/sync/engine/syncer.cc File chrome/browser/sync/engine/syncer.cc (right): http://codereview.chromium.org/7477004/diff/32001/chrome/browser/sync/engine/syncer.cc#newcode119 chrome/browser/sync/engine/syncer.cc:119: session->status_controller()->set_syncing(true); hey even in that ...
9 years, 4 months ago (2011-08-09 20:36:48 UTC) #21
lipalani1
Made it SetSyncInProgressAndUpdateStartTime. Please review!
9 years, 4 months ago (2011-08-09 23:59:55 UTC) #22
tim (not reviewing)
Please address comments, and then this LGTM, including changes you make in response. http://codereview.chromium.org/7477004/diff/2003/chrome/browser/sync/engine/syncer.cc File ...
9 years, 4 months ago (2011-08-10 00:08:29 UTC) #23
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 4 months ago (2011-08-10 23:30:16 UTC) #24
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 4 months ago (2011-08-11 01:22:34 UTC) #25
commit-bot: I haz the power
9 years, 4 months ago (2011-08-12 05:37:50 UTC) #26
Change committed as 96515

Powered by Google App Engine
This is Rietveld 408576698