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 21116a480602337785a39ce5d5b2cff7980c28d4..7dcc56af6db209dc177800c015f7cc29e07eef3c 100644 |
--- a/chrome/browser/sync/test/integration/sync_test.cc |
+++ b/chrome/browser/sync/test/integration/sync_test.cc |
@@ -170,9 +170,6 @@ void SyncTest::SetUp() { |
Encryptor::UseMockKeychain(true); |
#endif |
- // TODO(tim): Use command line flag. |
- syncer::SyncSchedulerImpl::ForceShortInitialBackoffRetry(); |
- |
// Yield control back to the InProcessBrowserTest framework. |
InProcessBrowserTest::SetUp(); |
} |
@@ -206,6 +203,9 @@ void SyncTest::AddTestSwitches(CommandLine* cl) { |
// TODO(sync): remove this once keystore encryption is enabled by default. |
if (!cl->HasSwitch(switches::kSyncKeystoreEncryption)) |
cl->AppendSwitch(switches::kSyncKeystoreEncryption); |
+ |
+ if (!cl->HasSwitch(switches::kSyncShortInitialRetryOverride)) |
+ cl->AppendSwitch(switches::kSyncShortInitialRetryOverride); |
} |
void SyncTest::AddOptionalTypesToCommandLine(CommandLine* cl) {} |