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
This commit is contained in:
Fenggang Wu 2018-06-08 12:53:23 -07:00 committed by Facebook Github Bot
parent 3470c75852
commit f4502944c3

View File

@ -3397,7 +3397,8 @@ TEST_P(BlockBasedTableTest, BadOptions) {
bbto.block_size = 4000;
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));
DestroyDB(kDBPath, options);
rocksdb::DB* db;