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

Unified Diff: sync/engine/sync_scheduler_whitebox_unittest.cc

Issue 12386012: sync: Drop fully datatype throttled sync jobs rather than saving them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « sync/engine/sync_scheduler_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/sync_scheduler_whitebox_unittest.cc
diff --git a/sync/engine/sync_scheduler_whitebox_unittest.cc b/sync/engine/sync_scheduler_whitebox_unittest.cc
index 383f17d01fd541ab1002d96b007436282fa9321f..5a9d77408116ddb1d26ccd3e9dee5d3c3e931ec1 100644
--- a/sync/engine/sync_scheduler_whitebox_unittest.cc
+++ b/sync/engine/sync_scheduler_whitebox_unittest.cc
@@ -159,7 +159,8 @@ TEST_F(SyncSchedulerWhiteboxTest, SaveNudgeWhileTypeThrottled) {
ConfigurationParams(),
FROM_HERE);
SyncSchedulerImpl::JobProcessDecision decision = DecideOnJob(job);
- EXPECT_EQ(decision, SyncSchedulerImpl::SAVE);
+ // TODO(tim): This shouldn't drop. Bug 177659.
+ EXPECT_EQ(decision, SyncSchedulerImpl::DROP);
}
TEST_F(SyncSchedulerWhiteboxTest, ContinueNudge) {
« no previous file with comments | « sync/engine/sync_scheduler_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698