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
main
Islam AbdelRahman 10 years ago
parent a9c5109515
commit 49640bd82f
  1. 2
      db/write_batch_test.cc

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

Loading…
Cancel
Save