Allow write_batch_test to run with ROCKSDB_LITE

Summary: Remove ColumnFamiliesBatchWithIndexTest from ROCKSDB_LITE since WriteBatchWithIndex is not supported

Test Plan: write_batch_test

Reviewers: yhchiang, sdong, igor

Reviewed By: igor

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D42033
This commit is contained in:
Islam AbdelRahman 2015-07-14 10:35:35 -07:00
parent a9c5109515
commit 49640bd82f
1 changed files with 2 additions and 0 deletions

View File

@ -362,6 +362,7 @@ TEST_F(WriteBatchTest, ColumnFamiliesBatchTest) {
handler.seen);
}
#ifndef ROCKSDB_LITE
TEST_F(WriteBatchTest, ColumnFamiliesBatchWithIndexTest) {
WriteBatchWithIndex batch;
ColumnFamilyHandleImplDummy zero(0), two(2), three(3), eight(8);
@ -443,6 +444,7 @@ TEST_F(WriteBatchTest, ColumnFamiliesBatchWithIndexTest) {
"Merge(omom, nom)",
handler.seen);
}
#endif // !ROCKSDB_LITE
} // namespace rocksdb