Fix tsan and valgrind failures in import_column_family_test

Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/5598

Test Plan:
tsan_check
valgrind_test

Differential Revision: D16380167

Pulled By: anand1976

fbshipit-source-id: 2d0caea7d2d02a9606457f62811175d762b89d5c
This commit is contained in:
anand76 2019-07-19 13:20:45 -07:00 committed by Facebook Github Bot
parent c129c75fb7
commit 4f7ba3aaed

View File

@ -427,6 +427,7 @@ TEST_F(ImportColumnFamilyTest, ImportExportedSSTFromAnotherDB) {
} }
db_copy->DropColumnFamily(cfh); db_copy->DropColumnFamily(cfh);
db_copy->DestroyColumnFamilyHandle(cfh); db_copy->DestroyColumnFamilyHandle(cfh);
delete db_copy;
test::DestroyDir(env_, dbname_ + "/db_copy"); test::DestroyDir(env_, dbname_ + "/db_copy");
} }