Disable two flaky tests

Summary: Closes https://github.com/facebook/rocksdb/pull/2217

Differential Revision: D4959351

Pulled By: siying

fbshipit-source-id: ce7c3a430bae0d15e06b3d5c958ebce969d08564
This commit is contained in:
Siying Dong 2017-04-26 17:12:28 -07:00 committed by Facebook Github Bot
parent 2150cc1f3e
commit e15382c09c
2 changed files with 4 additions and 2 deletions

View File

@ -1158,7 +1158,8 @@ TEST_P(DBCompactionTestWithParam, ManualCompactionPartial) {
} }
} }
TEST_F(DBCompactionTest, ManualPartialFill) { // Disable as the test is flaky.
TEST_F(DBCompactionTest, DISABLED_ManualPartialFill) {
int32_t trivial_move = 0; int32_t trivial_move = 0;
int32_t non_trivial_move = 0; int32_t non_trivial_move = 0;
rocksdb::SyncPoint::GetInstance()->SetCallBack( rocksdb::SyncPoint::GetInstance()->SetCallBack(

View File

@ -2770,8 +2770,9 @@ TEST_P(DBTestWithParam, FIFOCompactionTest) {
#ifndef ROCKSDB_LITE #ifndef ROCKSDB_LITE
/* /*
* This test is not reliable enough as it heavily depends on disk behavior. * This test is not reliable enough as it heavily depends on disk behavior.
* Disable as it is flaky.
*/ */
TEST_F(DBTest, RateLimitingTest) { TEST_F(DBTest, DISABLED_RateLimitingTest) {
Options options = CurrentOptions(); Options options = CurrentOptions();
options.write_buffer_size = 1 << 20; // 1MB options.write_buffer_size = 1 << 20; // 1MB
options.level0_file_num_compaction_trigger = 2; options.level0_file_num_compaction_trigger = 2;