|
|
@ -2837,6 +2837,7 @@ TEST_F(ColumnFamilyTest, CreateDropAndDestroy) { |
|
|
|
ASSERT_OK(db_->DestroyColumnFamilyHandle(cfh)); |
|
|
|
ASSERT_OK(db_->DestroyColumnFamilyHandle(cfh)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef ROCKSDB_LITE |
|
|
|
TEST_F(ColumnFamilyTest, CreateDropAndDestroyWithoutFileDeletion) { |
|
|
|
TEST_F(ColumnFamilyTest, CreateDropAndDestroyWithoutFileDeletion) { |
|
|
|
ColumnFamilyHandle* cfh; |
|
|
|
ColumnFamilyHandle* cfh; |
|
|
|
Open(); |
|
|
|
Open(); |
|
|
@ -2848,7 +2849,6 @@ TEST_F(ColumnFamilyTest, CreateDropAndDestroyWithoutFileDeletion) { |
|
|
|
ASSERT_OK(db_->DestroyColumnFamilyHandle(cfh)); |
|
|
|
ASSERT_OK(db_->DestroyColumnFamilyHandle(cfh)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#ifndef ROCKSDB_LITE |
|
|
|
|
|
|
|
TEST_F(ColumnFamilyTest, FlushCloseWALFiles) { |
|
|
|
TEST_F(ColumnFamilyTest, FlushCloseWALFiles) { |
|
|
|
SpecialEnv env(Env::Default()); |
|
|
|
SpecialEnv env(Env::Default()); |
|
|
|
db_options_.env = &env; |
|
|
|
db_options_.env = &env; |
|
|
|