Exclude StatsHistoryTest.ForceManualFlushStatsCF test from lite mode (#5529)

Summary:
Recent commit 3886dddc3b 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
main
Zhongyi Xie 6 years ago committed by Facebook Github Bot
parent 66464d1fde
commit cfdf2116d3
  1. 2
      monitoring/stats_history_test.cc

@ -567,7 +567,6 @@ TEST_F(StatsHistoryTest, PersistentStatsReadOnly) {
// Now check keys in read only mode. // Now check keys in read only mode.
ASSERT_OK(ReadOnlyReopen(options)); ASSERT_OK(ReadOnlyReopen(options));
} }
#endif // !ROCKSDB_LITE
TEST_F(StatsHistoryTest, ForceManualFlushStatsCF) { TEST_F(StatsHistoryTest, ForceManualFlushStatsCF) {
Options options; Options options;
@ -644,6 +643,7 @@ TEST_F(StatsHistoryTest, ForceManualFlushStatsCF) {
Close(); Close();
} }
#endif // !ROCKSDB_LITE
} // namespace rocksdb } // namespace rocksdb
int main(int argc, char** argv) { int main(int argc, char** argv) {

Loading…
Cancel
Save