From e15382c09c87a65eaeca9bda233bab503f1e5772 Mon Sep 17 00:00:00 2001 From: Siying Dong Date: Wed, 26 Apr 2017 17:12:28 -0700 Subject: [PATCH] Disable two flaky tests Summary: Closes https://github.com/facebook/rocksdb/pull/2217 Differential Revision: D4959351 Pulled By: siying fbshipit-source-id: ce7c3a430bae0d15e06b3d5c958ebce969d08564 --- db/db_compaction_test.cc | 3 ++- db/db_test.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/db/db_compaction_test.cc b/db/db_compaction_test.cc index f51a8a3ad..f701101dd 100644 --- a/db/db_compaction_test.cc +++ b/db/db_compaction_test.cc @@ -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 non_trivial_move = 0; rocksdb::SyncPoint::GetInstance()->SetCallBack( diff --git a/db/db_test.cc b/db/db_test.cc index e3b93280d..87f1494ae 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -2770,8 +2770,9 @@ TEST_P(DBTestWithParam, FIFOCompactionTest) { #ifndef ROCKSDB_LITE /* * 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.write_buffer_size = 1 << 20; // 1MB options.level0_file_num_compaction_trigger = 2;