mirror of https://github.com/facebook/rocksdb.git
Fixing valgrind error in checkpoint_test
Summary: Fixed a valgrind issue in checkpoint_test Test Plan: valgrind on checkpoint_test Reviewers: igor, anthony Reviewed By: anthony Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D40455
This commit is contained in:
parent
3bdec09cb7
commit
e1d3c7dbe4
|
@ -298,6 +298,7 @@ TEST_F(DBTest, CheckpointCF) {
|
|||
Checkpoint* checkpoint;
|
||||
ASSERT_OK(Checkpoint::Create(db_, &checkpoint));
|
||||
ASSERT_OK(checkpoint->CreateCheckpoint(snapshot_name));
|
||||
delete checkpoint;
|
||||
});
|
||||
TEST_SYNC_POINT("DBTest::CheckpointCF:1");
|
||||
ASSERT_OK(Put(0, "Default", "Default1"));
|
||||
|
|
Loading…
Reference in New Issue