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
This commit is contained in:
anand76 2019-08-29 12:12:05 -07:00 committed by Facebook Github Bot
parent c5e12ebfd2
commit 1729779b85

View File

@ -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_;