Skip to content

Commit

Permalink
Fix CompactFilesTest.ObsoleteFiles timeout (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
IslamAbdelRahman authored and yiwu-arbug committed Sep 26, 2016
1 parent c2a62a4 commit 9e9f5a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions db/compact_files_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,8 @@ TEST_F(CompactFilesTest, ObsoleteFiles) {
options.create_if_missing = true;
// Disable RocksDB background compaction.
options.compaction_style = kCompactionStyleNone;
// Small slowdown and stop trigger for experimental purpose.
options.level0_slowdown_writes_trigger = 20;
options.level0_stop_writes_trigger = 20;
options.level0_slowdown_writes_trigger = (1 << 30);
options.level0_stop_writes_trigger = (1 << 30);
options.write_buffer_size = kWriteBufferSize;
options.max_write_buffer_number = 2;
options.compression = kNoCompression;
Expand Down

0 comments on commit 9e9f5a0

Please sign in to comment.