Fix the issue in PreShutdownMultipleCompaction
Summary: Fix the issue in PreShutdownMultipleCompaction Test Plan: export ROCKSDB_TESTS=PreShutdownMultipleCompaction ./db_test Reviewers: rven, sdong, igor Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D35055
This commit is contained in:
parent
56c4a9c760
commit
fd1b3f385a
@ -10292,12 +10292,12 @@ TEST(DBTest, PreShutdownMultipleCompaction) {
|
||||
std::vector<ThreadStatus> thread_list;
|
||||
// Delay both flush and compaction
|
||||
rocksdb::SyncPoint::GetInstance()->LoadDependency(
|
||||
{{"FlushJob::Run:Start", "CompactionJob::Run:Start"},
|
||||
{"CompactionJob::Run:Start",
|
||||
{{"FlushJob::FlushJob()", "CompactionJob::Run():Start"},
|
||||
{"CompactionJob::Run():Start",
|
||||
"DBTest::PreShutdownMultipleCompaction:Preshutdown"},
|
||||
{"DBTest::PreShutdownMultipleCompaction:Preshutdown",
|
||||
"CompactionJob::Run:End"},
|
||||
{"CompactionJob::Run:End",
|
||||
"CompactionJob::Run():End"},
|
||||
{"CompactionJob::Run():End",
|
||||
"DBTest::PreShutdownMultipleCompaction:VerifyPreshutdown"}});
|
||||
|
||||
rocksdb::SyncPoint::GetInstance()->EnableProcessing();
|
||||
|
Loading…
Reference in New Issue
Block a user