Disable MultiGet row cache test in LITE mode (#5756)

Summary:
Row cache is not supported in LITE mode. So disable the test in that mode.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5756

Test Plan: make LITE=1 all check

Differential Revision: D17115684

Pulled By: anand1976

fbshipit-source-id: e6433c2e528674645cea76cdfc80ddc473708fc2
main
anand76 5 years ago committed by Facebook Github Bot
parent c5e12ebfd2
commit 1729779b85
  1. 2
      db/db_basic_test.cc

@ -1335,6 +1335,7 @@ INSTANTIATE_TEST_CASE_P(
MultiGetPrefix, MultiGetPrefixExtractorTest, MultiGetPrefix, MultiGetPrefixExtractorTest,
::testing::Bool()); ::testing::Bool());
#ifndef ROCKSDB_LITE
class DBMultiGetRowCacheTest class DBMultiGetRowCacheTest
: public DBBasicTest, : public DBBasicTest,
public ::testing::WithParamInterface<bool> {}; public ::testing::WithParamInterface<bool> {};
@ -1427,7 +1428,6 @@ TEST_P(DBMultiGetRowCacheTest, MultiGetBatched) {
INSTANTIATE_TEST_CASE_P(DBMultiGetRowCacheTest, DBMultiGetRowCacheTest, INSTANTIATE_TEST_CASE_P(DBMultiGetRowCacheTest, DBMultiGetRowCacheTest,
testing::Values(true, false)); testing::Values(true, false));
#ifndef ROCKSDB_LITE
TEST_F(DBBasicTest, GetAllKeyVersions) { TEST_F(DBBasicTest, GetAllKeyVersions) {
Options options = CurrentOptions(); Options options = CurrentOptions();
options.env = env_; options.env = env_;

Loading…
Cancel
Save