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

Unified Diff: chrome/browser/sync/test/integration/sync_test.cc

Issue 10826194: sync: raise initial backoff interval from 1 second to 5 minutes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sync/engine/sync_scheduler_impl.h » ('j') | sync/engine/sync_scheduler_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test/integration/sync_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index 61aa0ae0ebb2cff0205bdca48db421cec1766f01..b7fa3968199b988e83aef39ff587d3f74c0093e0 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -55,6 +55,7 @@
#include "net/url_request/url_request_status.h"
#include "sync/notifier/p2p_notifier.h"
#include "sync/protocol/sync.pb.h"
+#include "sync/engine/sync_scheduler_impl.h"
using content::BrowserThread;
@@ -169,6 +170,9 @@ void SyncTest::SetUp() {
Encryptor::UseMockKeychain(true);
#endif
+ // TODO(tim): Use command line flag.
+ syncer::SyncSchedulerImpl::ForceImmediateInitialBackoffRetry();
+
// Yield control back to the InProcessBrowserTest framework.
InProcessBrowserTest::SetUp();
}
« no previous file with comments | « no previous file | sync/engine/sync_scheduler_impl.h » ('j') | sync/engine/sync_scheduler_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698