]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Make RateLimiting unit test less flakey
authorIgor Canadi <icanadi@fb.com>
Wed, 21 May 2014 00:09:38 +0000 (17:09 -0700)
committerIgor Canadi <icanadi@fb.com>
Wed, 21 May 2014 00:09:38 +0000 (17:09 -0700)
utilities/backupable/backupable_db_test.cc

index 6f0c6bc8810c7a04149ef59d8c1fa2d9e3dbe3c3..e6874fe5d7ed0694e4f0cd8d3389077f532dbf98 100644 (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);
   }