diff --git a/db/db_block_cache_test.cc b/db/db_block_cache_test.cc index 1e2831e5b86be36244ca9c897b2f07bb4f876b23..afe1772ba5a2110a78d74089b68df807f6cf18e8 100644 --- a/db/db_block_cache_test.cc +++ b/db/db_block_cache_test.cc @@ -224,6 +224,9 @@ TEST_F(DBBlockCacheTest, TestWithCompressedBlockCache) { delete iter; iter = nullptr; } +#endif // SNAPPY + +#ifndef ROCKSDB_LITE // Make sure that when options.block_cache is set, after a new table is // created its index/filter blocks are added to block cache. @@ -440,7 +443,7 @@ TEST_F(DBBlockCacheTest, CompressedCache) { } } -#endif +#endif // ROCKSDB_LITE } // namespace rocksdb