Fixed the asan error on column_family_test
Summary: Fixed the asan error on column_family_test caused by not disabling SyncPoint. Test Plan: column_family_test Reviewers: anthony, rven, kradhakrishnan, sdong, IslamAbdelRahman Reviewed By: IslamAbdelRahman Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D53505
This commit is contained in:
parent
3b2a1ddd2e
commit
1d854fa3d4
@ -65,6 +65,7 @@ class ColumnFamilyTest : public testing::Test {
|
|||||||
|
|
||||||
~ColumnFamilyTest() {
|
~ColumnFamilyTest() {
|
||||||
Close();
|
Close();
|
||||||
|
rocksdb::SyncPoint::GetInstance()->DisableProcessing();
|
||||||
Destroy();
|
Destroy();
|
||||||
delete env_;
|
delete env_;
|
||||||
}
|
}
|
||||||
@ -2047,7 +2048,6 @@ TEST_F(ColumnFamilyTest, FlushAndDropRaceCondition) {
|
|||||||
|
|
||||||
Close();
|
Close();
|
||||||
Destroy();
|
Destroy();
|
||||||
rocksdb::SyncPoint::GetInstance()->DisableProcessing();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef ROCKSDB_LITE
|
#ifndef ROCKSDB_LITE
|
||||||
@ -2125,7 +2125,6 @@ TEST_F(ColumnFamilyTest, CreateAndDropRace) {
|
|||||||
drop_cf_thread.join();
|
drop_cf_thread.join();
|
||||||
Close();
|
Close();
|
||||||
Destroy();
|
Destroy();
|
||||||
rocksdb::SyncPoint::GetInstance()->DisableProcessing();
|
|
||||||
for (auto* comparator : comparators) {
|
for (auto* comparator : comparators) {
|
||||||
if (comparator) {
|
if (comparator) {
|
||||||
delete comparator;
|
delete comparator;
|
||||||
|
Loading…
Reference in New Issue
Block a user