Fix CompactFilesTest.ObsoleteFiles timeout (#1353)

This commit is contained in:
Islam AbdelRahman 2016-09-26 10:39:07 -07:00 committed by yiwu-arbug
parent c2a62a4cb2
commit 9e9f5a0b92

View File

@ -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;