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
main
Maysam Yabandeh 7 years ago committed by Facebook Github Bot
parent f5148ade10
commit 2d30aaae47
  1. 5
      db/write_callback_test.cc

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

Loading…
Cancel
Save