From: Siying Dong Date: Thu, 27 Apr 2017 00:12:28 +0000 (-0700) Subject: Disable two flaky tests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e15382c09c87a65eaeca9bda233bab503f1e5772;p=rocksdb.git Disable two flaky tests Summary: Closes https://github.com/facebook/rocksdb/pull/2217 Differential Revision: D4959351 Pulled By: siying fbshipit-source-id: ce7c3a430bae0d15e06b3d5c958ebce969d08564 --- diff --git a/db/db_compaction_test.cc b/db/db_compaction_test.cc index f51a8a3a..f701101d 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 e3b93280..87f1494a 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;