Change db path for BlockBasedTableTest.BadOptions (#3965)

Summary:
BadOptions test creates a temporary db path changed to
table_block_based_bad_options_test to avoid collide with that created by
the PrefixAndWholeKeyTest
Closes https://github.com/facebook/rocksdb/pull/3965

Differential Revision: D8316080

Pulled By: fgwu

fbshipit-source-id: bb8e0fdfdb9abf0e5ce94494b4388cd1622ee032
main
Fenggang Wu 7 years ago committed by Facebook Github Bot
parent 3470c75852
commit f4502944c3
  1. 3
      table/table_test.cc

@ -3397,7 +3397,8 @@ TEST_P(BlockBasedTableTest, BadOptions) {
bbto.block_size = 4000; bbto.block_size = 4000;
bbto.block_align = true; bbto.block_align = true;
const std::string kDBPath = test::TmpDir() + "/table_prefix_test"; const std::string kDBPath =
test::TmpDir() + "/block_based_table_bad_options_test";
options.table_factory.reset(NewBlockBasedTableFactory(bbto)); options.table_factory.reset(NewBlockBasedTableFactory(bbto));
DestroyDB(kDBPath, options); DestroyDB(kDBPath, options);
rocksdb::DB* db; rocksdb::DB* db;

Loading…
Cancel
Save