exclude DynamicUniversalCompactionOptions from ROCKSDB_LITE

Summary:
since [SetOptions](https://github.com/facebook/rocksdb/blob/master/db/db_impl.cc#L494) is not supported in ROCKSDB_LITE
Right now unit test under lite is broken
Closes https://github.com/facebook/rocksdb/pull/3253

Differential Revision: D6539428

Pulled By: miasantreble

fbshipit-source-id: 13172b8ecbd75682330726498ea198969bc3e637
main
Zhongyi Xie 7 years ago committed by Facebook Github Bot
parent 0d5692e02b
commit bb5ed4b1d1
  1. 2
      db/db_test.cc

@ -4375,7 +4375,6 @@ TEST_F(DBTest, DynamicFIFOCompactionOptions) {
ASSERT_EQ(dbfull()->GetOptions().compaction_options_fifo.allow_compaction, ASSERT_EQ(dbfull()->GetOptions().compaction_options_fifo.allow_compaction,
true); true);
} }
#endif // ROCKSDB_LITE
TEST_F(DBTest, DynamicUniversalCompactionOptions) { TEST_F(DBTest, DynamicUniversalCompactionOptions) {
Options options; Options options;
@ -4444,6 +4443,7 @@ TEST_F(DBTest, DynamicUniversalCompactionOptions) {
dbfull()->GetOptions().compaction_options_universal.allow_trivial_move, dbfull()->GetOptions().compaction_options_universal.allow_trivial_move,
false); false);
} }
#endif // ROCKSDB_LITE
TEST_F(DBTest, FileCreationRandomFailure) { TEST_F(DBTest, FileCreationRandomFailure) {
Options options; Options options;

Loading…
Cancel
Save