From 74bcf18772d716983b9fdc306a6f9c9cf5c62ca2 Mon Sep 17 00:00:00 2001 From: sdong Date: Fri, 5 Feb 2016 14:26:26 -0800 Subject: [PATCH] Fix LITE db_test build broken by previous commit Summary: Previous commit introduces a test that is not supported in LITE. Fix it. Test Plan: Build the test with ROCKSDB_LITE. Reviewers: kradhakrishnan, IslamAbdelRahman, anthony, yhchiang, andrewkr Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D53901 --- db/db_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db_test.cc b/db/db_test.cc index 4c02ae969..0b0120aee 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -6512,8 +6512,6 @@ TEST_F(DBTest, TableOptionsSanitizeTest) { ASSERT_OK(TryReopen(options)); } -#endif // ROCKSDB_LITE - TEST_F(DBTest, ConcurrentMemtableNotSupported) { Options options = CurrentOptions(); options.allow_concurrent_memtable_write = true; @@ -6535,6 +6533,8 @@ TEST_F(DBTest, ConcurrentMemtableNotSupported) { ASSERT_NOK(db_->CreateColumnFamily(cf_options, "name", &handle)); } +#endif // ROCKSDB_LITE + TEST_F(DBTest, SanitizeNumThreads) { for (int attempt = 0; attempt < 2; attempt++) { const size_t kTotalTasks = 8;