mirror of https://github.com/facebook/rocksdb.git
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:
parent
a9c5109515
commit
49640bd82f
|
@ -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…
Reference in New Issue