summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 23:29:27 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 23:29:27 +0000
commit6805794443d52c70e7e3ccc70e7733c35c64d8b4 (patch)
treed28f291f264e53a8294eb9e9f58a3cb34f77db61 /chrome
parent973407b94dc9fb9e191b9c98d886b17d14586fbc (diff)
downloadchromium_src-6805794443d52c70e7e3ccc70e7733c35c64d8b4.zip
chromium_src-6805794443d52c70e7e3ccc70e7733c35c64d8b4.tar.gz
chromium_src-6805794443d52c70e7e3ccc70e7733c35c64d8b4.tar.bz2
sync: remove a test expectation that is actually dumb.
I added it. Yay me. (It is dumb because it puts a sub 20 millisecond upper bound on certain operations involving posting tasks across threads.) TBR=akalin BUG=26339 TEST=SyncerThread2Test Review URL: http://codereview.chromium.org/6296023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72716 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/sync/engine/syncer_thread2_unittest.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/sync/engine/syncer_thread2_unittest.cc b/chrome/browser/sync/engine/syncer_thread2_unittest.cc
index afacb99..f5adfd7 100644
--- a/chrome/browser/sync/engine/syncer_thread2_unittest.cc
+++ b/chrome/browser/sync/engine/syncer_thread2_unittest.cc
@@ -88,7 +88,6 @@ class SyncerThread2Test : public testing::Test {
SCOPED_TRACE(testing::Message() << "SyncShare # (" << i << ")");
TimeTicks optimal_next_sync = optimal_start + poll_interval * i;
EXPECT_GE(data[i], optimal_next_sync);
- EXPECT_LE(data[i], optimal_next_sync + poll_interval);
EXPECT_EQ(GetUpdatesCallerInfo::PERIODIC,
records.snapshots[i]->source.first);
}
@@ -510,7 +509,6 @@ TEST_F(SyncerThread2Test, BackoffRelief) {
SCOPED_TRACE(testing::Message() << "SyncShare # (" << i << ")");
TimeTicks optimal_next_sync = optimal_start + poll * i;
EXPECT_GE(r.times[i], optimal_next_sync);
- EXPECT_LE(r.times[i], optimal_next_sync + poll);
EXPECT_EQ(i == 0 ? GetUpdatesCallerInfo::SYNC_CYCLE_CONTINUATION
: GetUpdatesCallerInfo::PERIODIC,
r.snapshots[i]->source.first);