diff --git a/db/db_options_test.cc b/db/db_options_test.cc index 7dd672646..fd8d849cd 100644 --- a/db/db_options_test.cc +++ b/db/db_options_test.cc @@ -25,8 +25,6 @@ namespace rocksdb { -const int kMicrosInSec = 1000000; - class DBOptionsTest : public DBTestBase { public: DBOptionsTest() : DBTestBase("/db_options_test") {} diff --git a/monitoring/stats_history_test.cc b/monitoring/stats_history_test.cc index a66043da1..16681fe05 100644 --- a/monitoring/stats_history_test.cc +++ b/monitoring/stats_history_test.cc @@ -30,6 +30,7 @@ class StatsHistoryTest : public DBTestBase { public: StatsHistoryTest() : DBTestBase("/stats_history_test") {} }; +#ifndef ROCKSDB_LITE TEST_F(StatsHistoryTest, RunStatsDumpPeriodSec) { Options options; @@ -566,6 +567,7 @@ TEST_F(StatsHistoryTest, PersistentStatsReadOnly) { // Now check keys in read only mode. ASSERT_OK(ReadOnlyReopen(options)); } +#endif // !ROCKSDB_LITE } // namespace rocksdb