mirror of https://github.com/facebook/rocksdb.git
SamePrefixTest.InDomainTest to clear the test directory before testing
Summary: SamePrefixTest.InDomainTest may fail if the previous run of some test cases in prefix_test fail. Test Plan: Run the test Reviewers: lightmark, yhchiang, IslamAbdelRahman Reviewed By: IslamAbdelRahman Subscribers: leveldb, andrewkr, dhruba Differential Revision: https://reviews.facebook.net/D65163
This commit is contained in:
parent
aa09d03381
commit
b4d07123c4
|
@ -292,6 +292,7 @@ TEST(SamePrefixTest, InDomainTest) {
|
|||
WriteOptions write_options;
|
||||
ReadOptions read_options;
|
||||
{
|
||||
ASSERT_OK(DestroyDB(kDbName, Options()));
|
||||
ASSERT_OK(DB::Open(options, kDbName, &db));
|
||||
ASSERT_OK(db->Put(write_options, "HHKB pro2", "Mar 24, 2006"));
|
||||
ASSERT_OK(db->Put(write_options, "HHKB pro2 Type-S", "June 29, 2011"));
|
||||
|
|
Loading…
Reference in New Issue