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
This commit is contained in:
parent
18a4f6a1de
commit
74bcf18772
@ -6512,8 +6512,6 @@ TEST_F(DBTest, TableOptionsSanitizeTest) {
|
|||||||
ASSERT_OK(TryReopen(options));
|
ASSERT_OK(TryReopen(options));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // ROCKSDB_LITE
|
|
||||||
|
|
||||||
TEST_F(DBTest, ConcurrentMemtableNotSupported) {
|
TEST_F(DBTest, ConcurrentMemtableNotSupported) {
|
||||||
Options options = CurrentOptions();
|
Options options = CurrentOptions();
|
||||||
options.allow_concurrent_memtable_write = true;
|
options.allow_concurrent_memtable_write = true;
|
||||||
@ -6535,6 +6533,8 @@ TEST_F(DBTest, ConcurrentMemtableNotSupported) {
|
|||||||
ASSERT_NOK(db_->CreateColumnFamily(cf_options, "name", &handle));
|
ASSERT_NOK(db_->CreateColumnFamily(cf_options, "name", &handle));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // ROCKSDB_LITE
|
||||||
|
|
||||||
TEST_F(DBTest, SanitizeNumThreads) {
|
TEST_F(DBTest, SanitizeNumThreads) {
|
||||||
for (int attempt = 0; attempt < 2; attempt++) {
|
for (int attempt = 0; attempt < 2; attempt++) {
|
||||||
const size_t kTotalTasks = 8;
|
const size_t kTotalTasks = 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user