From cfdf2116d38cd39763528ce2f3a01e661700c601 Mon Sep 17 00:00:00 2001 From: Zhongyi Xie Date: Mon, 1 Jul 2019 16:32:59 -0700 Subject: [PATCH] Exclude StatsHistoryTest.ForceManualFlushStatsCF test from lite mode (#5529) Summary: Recent commit 3886dddc3b44bf5061c0f93eab578c51e8bad7bd introduced a new test which is not compatible with lite mode and breaks contrun test: ``` [ RUN ] StatsHistoryTest.ForceManualFlushStatsCF monitoring/stats_history_test.cc:642: Failure Expected: (cfd_stats->GetLogNumber()) < (cfd_test->GetLogNumber()), actual: 15 vs 15 ``` This PR excludes the test from lite mode to appease the failing test Pull Request resolved: https://github.com/facebook/rocksdb/pull/5529 Differential Revision: D16080892 Pulled By: miasantreble fbshipit-source-id: 2f8a22758f71250cd9f204046404226ddc13b028 --- monitoring/stats_history_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring/stats_history_test.cc b/monitoring/stats_history_test.cc index bef928558..9adacdbf7 100644 --- a/monitoring/stats_history_test.cc +++ b/monitoring/stats_history_test.cc @@ -567,7 +567,6 @@ TEST_F(StatsHistoryTest, PersistentStatsReadOnly) { // Now check keys in read only mode. ASSERT_OK(ReadOnlyReopen(options)); } -#endif // !ROCKSDB_LITE TEST_F(StatsHistoryTest, ForceManualFlushStatsCF) { Options options; @@ -644,6 +643,7 @@ TEST_F(StatsHistoryTest, ForceManualFlushStatsCF) { Close(); } +#endif // !ROCKSDB_LITE } // namespace rocksdb int main(int argc, char** argv) {