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

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

Issue 9348036: Trim code from sync's ServerConnectionManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase after Fred's patch Created 8 years, 9 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
Index: chrome/browser/sync/test/integration/sync_errors_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_errors_test.cc b/chrome/browser/sync/test/integration/sync_errors_test.cc
index 3c9dc55adb537baaa1c471d33a65e7857488ac63..b83ac90f78c77887a44b6517ac7b69185e538763 100644
--- a/chrome/browser/sync/test/integration/sync_errors_test.cc
+++ b/chrome/browser/sync/test/integration/sync_errors_test.cc
@@ -151,11 +151,9 @@ IN_PROC_BROWSER_TEST_F(SyncErrorTest, AuthErrorTest) {
const BookmarkNode* node2 = AddFolder(0, 0, L"title2");
SetTitle(0, node2, L"new_title2");
- ASSERT_FALSE(GetClient(0)->AwaitFullSyncCompletion("Must get auth error."));
+ ASSERT_TRUE(GetClient(0)->AwaitExponentialBackoffVerification());
ASSERT_EQ(GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS,
GetClient(0)->service()->GetAuthError().state());
- ASSERT_EQ(ProfileSyncService::Status::OFFLINE_UNSYNCED,
- GetClient(0)->GetStatus().summary);
}
// TODO(lipalani): Fix the typed_url dtc so this test case can pass.

Powered by Google App Engine
This is Rietveld 408576698