Make RateLimiting unit test less flakey

This commit is contained in:
Igor Canadi 2014-05-20 17:09:38 -07:00
parent b2cf95fe38
commit f725e4fe1f
1 changed files with 0 additions and 1 deletions

View File

@ -930,7 +930,6 @@ TEST(BackupableDBTest, RateLimiting) {
auto rate_limited_restore_time = (bytes_written * kMicrosPerSec) /
backupable_options_->restore_rate_limit;
ASSERT_GT(restore_time, 0.9 * rate_limited_restore_time);
ASSERT_LT(restore_time, 2.5 * rate_limited_restore_time);
AssertBackupConsistency(0, 0, 100000, 100010);
}