Fix wal_dir not getting cleaned
This commit is contained in:
parent
53ae09c398
commit
f36d394aed
@ -2596,7 +2596,8 @@ TEST(DBTest, IgnoreRecoveredLog) {
|
|||||||
options.create_if_missing = true;
|
options.create_if_missing = true;
|
||||||
options.merge_operator = MergeOperators::CreateUInt64AddOperator();
|
options.merge_operator = MergeOperators::CreateUInt64AddOperator();
|
||||||
options.wal_dir = dbname_ + "/logs";
|
options.wal_dir = dbname_ + "/logs";
|
||||||
DestroyAndReopen(options);
|
Destroy(options);
|
||||||
|
Reopen(options);
|
||||||
|
|
||||||
// fill up the DB
|
// fill up the DB
|
||||||
std::string one, two;
|
std::string one, two;
|
||||||
|
Loading…
Reference in New Issue
Block a user