From 1075c376ef71cf63b812822f8c333c7d45695ec5 Mon Sep 17 00:00:00 2001 From: Vijay Nadimpalli Date: Fri, 25 Oct 2019 18:20:40 -0700 Subject: [PATCH] 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 --- db/db_test.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/db/db_test.cc b/db/db_test.cc index 89553b3a7..c39345d8e 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -6276,6 +6276,8 @@ TEST_F(DBTest, LargeBlockSizeTest) { ASSERT_NOK(TryReopenWithColumnFamilies({"default", "pikachu"}, options)); } +#ifndef ROCKSDB_LITE + TEST_F(DBTest, CreationTimeOfOldestFile) { const int kNumKeysPerFile = 32; const int kNumLevelFiles = 2; @@ -6376,6 +6378,8 @@ TEST_F(DBTest, CreationTimeOfOldestFile) { rocksdb::SyncPoint::GetInstance()->DisableProcessing(); } +#endif + } // namespace rocksdb #ifdef ROCKSDB_UNITTESTS_WITH_CUSTOM_OBJECTS_FROM_STATIC_LIBS