From 9e9f5a0b92fbf906838afb49a6c87cd72b8f6ce0 Mon Sep 17 00:00:00 2001 From: Islam AbdelRahman Date: Mon, 26 Sep 2016 10:39:07 -0700 Subject: [PATCH] Fix CompactFilesTest.ObsoleteFiles timeout (#1353) --- db/compact_files_test.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/db/compact_files_test.cc b/db/compact_files_test.cc index 82622a69ba..8f046d14e7 100644 --- a/db/compact_files_test.cc +++ b/db/compact_files_test.cc @@ -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;