From 1729779b85e29f190612f82592e7070b6d24f58b Mon Sep 17 00:00:00 2001 From: anand76 Date: Thu, 29 Aug 2019 12:12:05 -0700 Subject: [PATCH] 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 --- db/db_basic_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db_basic_test.cc b/db/db_basic_test.cc index e09f5fe8a..960feef5f 100644 --- a/db/db_basic_test.cc +++ b/db/db_basic_test.cc @@ -1335,6 +1335,7 @@ INSTANTIATE_TEST_CASE_P( MultiGetPrefix, MultiGetPrefixExtractorTest, ::testing::Bool()); +#ifndef ROCKSDB_LITE class DBMultiGetRowCacheTest : public DBBasicTest, public ::testing::WithParamInterface {}; @@ -1427,7 +1428,6 @@ TEST_P(DBMultiGetRowCacheTest, MultiGetBatched) { INSTANTIATE_TEST_CASE_P(DBMultiGetRowCacheTest, DBMultiGetRowCacheTest, testing::Values(true, false)); -#ifndef ROCKSDB_LITE TEST_F(DBBasicTest, GetAllKeyVersions) { Options options = CurrentOptions(); options.env = env_;