Skip ReadOnlyDB test for lite

This commit is contained in:
Yu Zhang 2022-05-16 20:01:22 -07:00
parent f147bb7f91
commit 5e0c9f18b6

View File

@ -704,6 +704,7 @@ TEST_F(DBBasicTestWithTimestamp, SimpleIterate) {
Close(); Close();
} }
#ifndef ROCKSDB_LITE
TEST_F(DBBasicTestWithTimestamp, ReadOnlyDBSimpleIterateAndGet) { TEST_F(DBBasicTestWithTimestamp, ReadOnlyDBSimpleIterateAndGet) {
const int kNumKeysPerFile = 128; const int kNumKeysPerFile = 128;
const uint64_t kMaxKey = 1024; const uint64_t kMaxKey = 1024;
@ -852,6 +853,7 @@ TEST_F(DBBasicTestWithTimestamp, ReadOnlyDBIterators) {
Close(); Close();
} }
#endif // !ROCKSDB_LITE
TEST_F(DBBasicTestWithTimestamp, TrimHistoryTest) { TEST_F(DBBasicTestWithTimestamp, TrimHistoryTest) {
Options options = CurrentOptions(); Options options = CurrentOptions();