diff --git a/db/db_test2.cc b/db/db_test2.cc index 09d7f220e98a22f06fb25dc6ccc42494daf5bb9b..f2bccea66c9c795505811d5fd8ed8597f376b1a7 100644 --- a/db/db_test2.cc +++ b/db/db_test2.cc @@ -2888,6 +2888,7 @@ TEST_F(DBTest2, TestGetColumnFamilyHandleUnlocked) { rocksdb::SyncPoint::GetInstance()->ClearAllCallBacks(); } +#ifndef ROCKSDB_LITE TEST_F(DBTest2, TestCompactFiles) { // Setup sync point dependency to reproduce the race condition of // DBImpl::GetColumnFamilyHandleUnlocked @@ -2946,6 +2947,7 @@ TEST_F(DBTest2, TestCompactFiles) { rocksdb::SyncPoint::GetInstance()->DisableProcessing(); rocksdb::SyncPoint::GetInstance()->ClearAllCallBacks(); } +#endif // ROCKSDB_LITE } // namespace rocksdb