Exclude incompatible options in test

Summary:
options.enable_pipelined_write and options.concurrent_prepare are incompatible and should not be set together.
Closes https://github.com/facebook/rocksdb/pull/2875

Differential Revision: D5818358

Pulled By: maysamyabandeh

fbshipit-source-id: dad862508f00817ab302f8b61729accf38315fb8
This commit is contained in:
Maysam Yabandeh 2017-09-12 14:48:19 -07:00 committed by Facebook Github Bot
parent f5148ade10
commit 2d30aaae47

View File

@ -137,6 +137,11 @@ TEST_F(WriteCallbackTest, WriteWithCallbackTest) {
options.allow_concurrent_memtable_write = allow_parallel; options.allow_concurrent_memtable_write = allow_parallel;
options.enable_pipelined_write = enable_pipelined_write; options.enable_pipelined_write = enable_pipelined_write;
options.concurrent_prepare = two_queues; options.concurrent_prepare = two_queues;
if (options.enable_pipelined_write &&
options.concurrent_prepare) {
// This combination is not supported
continue;
}
ReadOptions read_options; ReadOptions read_options;
DB* db; DB* db;