From 2a04268be31d98ba16ecfb6e55d27c86ad59924d Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Tue, 9 Feb 2016 16:26:20 -0800 Subject: [PATCH] Temporarily disable unstable tests in memory_test.cc Summary: memory_test.cc has some tests that are not unstable but hard to reproduce, and the cause is the test itself not the code. Temporarily disable the tests until we have a good fix. Test Plan: memory_test Reviewers: sdong, anthony, IslamAbdelRahman, rven, kradhakrishnan Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D54009 --- utilities/memory/memory_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/memory/memory_test.cc b/utilities/memory/memory_test.cc index 63420be61..5c97f78bd 100644 --- a/utilities/memory/memory_test.cc +++ b/utilities/memory/memory_test.cc @@ -93,7 +93,7 @@ class MemoryTest : public testing::Test { std::vector usage_history_[MemoryUtil::kNumUsageTypes]; }; -TEST_F(MemoryTest, SharedBlockCacheTotal) { +TEST_F(MemoryTest, DISABLED_SharedBlockCacheTotal) { std::vector dbs; std::vector usage_by_type; const int kNumDBs = 10; @@ -144,7 +144,7 @@ TEST_F(MemoryTest, SharedBlockCacheTotal) { } } -TEST_F(MemoryTest, MemTableAndTableReadersTotal) { +TEST_F(MemoryTest, DISABLED_MemTableAndTableReadersTotal) { std::vector dbs; std::vector usage_by_type; std::vector> vec_handles;