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

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

Issue 1974073002: [Sync] Reduce SingleClientSessionsSyncTest.CookieJarMismatch test execution time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc b/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc
index db50a400ced88f9a1d448e0cec4f796de50c15a6..b21a6236f570b52178fd5cd798faaa103abe5e87 100644
--- a/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc
+++ b/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc
@@ -163,6 +163,7 @@ IN_PROC_BROWSER_TEST_F(SingleClientSessionsSyncTest, CookieJarMismatch) {
ScopedWindowMap old_windows;
GURL url = GURL("http://127.0.0.1/bubba");
ASSERT_TRUE(OpenTabAndGetLocalWindows(0, url, old_windows.GetMutable()));
+ TriggerSyncForModelTypes(0, syncer::ModelTypeSet(syncer::SESSIONS));
ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
// The cookie jar mismatch value will be true by default due to
@@ -184,6 +185,7 @@ IN_PROC_BROWSER_TEST_F(SingleClientSessionsSyncTest, CookieJarMismatch) {
// Trigger a sync and wait for it.
url = GURL("http://127.0.0.1/bubba2");
ASSERT_TRUE(OpenTabAndGetLocalWindows(0, url, old_windows.GetMutable()));
+ TriggerSyncForModelTypes(0, syncer::ModelTypeSet(syncer::SESSIONS));
ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
// Verify the cookie jar mismatch bool is set to false.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698