Skip to content

Commit 552c49f

Browse files
committedJun 3, 2014
Remove upper bound for rate limiting unit test
1 parent fd27001 commit 552c49f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎util/options.cc

+2
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,9 @@ ColumnFamilyOptions* ColumnFamilyOptions::OptimizeForPointLookup() {
490490
BlockBasedTableOptions block_based_options;
491491
block_based_options.index_type = BlockBasedTableOptions::kBinarySearch;
492492
table_factory.reset(new BlockBasedTableFactory(block_based_options));
493+
#ifndef ROCKSDB_LITE
493494
memtable_factory.reset(NewHashLinkListRepFactory());
495+
#endif
494496
return this;
495497
}
496498

‎utilities/backupable/backupable_db_test.cc

-1
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,6 @@ TEST(BackupableDBTest, RateLimiting) {
918918
auto rate_limited_backup_time = (bytes_written * kMicrosPerSec) /
919919
backupable_options_->backup_rate_limit;
920920
ASSERT_GT(backup_time, 0.9 * rate_limited_backup_time);
921-
ASSERT_LT(backup_time, 2.5 * rate_limited_backup_time);
922921

923922
CloseBackupableDB();
924923

0 commit comments

Comments
 (0)
Please sign in to comment.