Fix for lite build (#5971)

Summary:
Fix for lite build
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5971

Test Plan: make J=1 -j64  LITE=1 all check

Differential Revision: D18148306

Pulled By: vjnadimpalli

fbshipit-source-id: 5b9a3edc3e73e054fee6b96e6f6e583cecc898f3
main
Vijay Nadimpalli 5 years ago committed by Facebook Github Bot
parent 3f891c40a0
commit 1075c376ef
  1. 4
      db/db_test.cc

@ -6276,6 +6276,8 @@ TEST_F(DBTest, LargeBlockSizeTest) {
ASSERT_NOK(TryReopenWithColumnFamilies({"default", "pikachu"}, options)); ASSERT_NOK(TryReopenWithColumnFamilies({"default", "pikachu"}, options));
} }
#ifndef ROCKSDB_LITE
TEST_F(DBTest, CreationTimeOfOldestFile) { TEST_F(DBTest, CreationTimeOfOldestFile) {
const int kNumKeysPerFile = 32; const int kNumKeysPerFile = 32;
const int kNumLevelFiles = 2; const int kNumLevelFiles = 2;
@ -6376,6 +6378,8 @@ TEST_F(DBTest, CreationTimeOfOldestFile) {
rocksdb::SyncPoint::GetInstance()->DisableProcessing(); rocksdb::SyncPoint::GetInstance()->DisableProcessing();
} }
#endif
} // namespace rocksdb } // namespace rocksdb
#ifdef ROCKSDB_UNITTESTS_WITH_CUSTOM_OBJECTS_FROM_STATIC_LIBS #ifdef ROCKSDB_UNITTESTS_WITH_CUSTOM_OBJECTS_FROM_STATIC_LIBS

Loading…
Cancel
Save