Skip to content

Commit

Permalink
Change db path for BlockBasedTableTest.BadOptions (facebook#3965)
Browse files Browse the repository at this point in the history
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 facebook#3965

Differential Revision: D8316080

Pulled By: fgwu

fbshipit-source-id: bb8e0fdfdb9abf0e5ce94494b4388cd1622ee032
  • Loading branch information
fgwu authored and facebook-github-bot committed Jun 8, 2018
1 parent 3470c75 commit f450294
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion table/table_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f450294

Please sign in to comment.