From f36d394aeddf420661e54a1a0a54fcc790c9cffb Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Wed, 4 Feb 2015 18:57:22 -0800 Subject: [PATCH] Fix wal_dir not getting cleaned --- db/db_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/db_test.cc b/db/db_test.cc index a0a583334..4915d29c1 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -2596,7 +2596,8 @@ TEST(DBTest, IgnoreRecoveredLog) { options.create_if_missing = true; options.merge_operator = MergeOperators::CreateUInt64AddOperator(); options.wal_dir = dbname_ + "/logs"; - DestroyAndReopen(options); + Destroy(options); + Reopen(options); // fill up the DB std::string one, two;