|
|
@ -10383,9 +10383,9 @@ TEST(DBTest, PreShutdownCompactionMiddle) { |
|
|
|
// Delay both flush and compaction
|
|
|
|
// Delay both flush and compaction
|
|
|
|
rocksdb::SyncPoint::GetInstance()->LoadDependency( |
|
|
|
rocksdb::SyncPoint::GetInstance()->LoadDependency( |
|
|
|
{{"DBTest::PreShutdownMultipleCompaction:Preshutdown", |
|
|
|
{{"DBTest::PreShutdownMultipleCompaction:Preshutdown", |
|
|
|
"CompactionJob::Run:Inprogress"}, |
|
|
|
"CompactionJob::Run():Inprogress"}, |
|
|
|
{"CompactionJob::Run:Inprogress", "CompactionJob::Run:End"}, |
|
|
|
{"CompactionJob::Run():Inprogress", "CompactionJob::Run():End"}, |
|
|
|
{"CompactionJob::Run:End", |
|
|
|
{"CompactionJob::Run():End", |
|
|
|
"DBTest::PreShutdownMultipleCompaction:VerifyPreshutdown"}}); |
|
|
|
"DBTest::PreShutdownMultipleCompaction:VerifyPreshutdown"}}); |
|
|
|
|
|
|
|
|
|
|
|
rocksdb::SyncPoint::GetInstance()->EnableProcessing(); |
|
|
|
rocksdb::SyncPoint::GetInstance()->EnableProcessing(); |
|
|
@ -10604,7 +10604,7 @@ TEST(DBTest, DynamicLevelMaxBytesBase2) { |
|
|
|
// level.
|
|
|
|
// level.
|
|
|
|
// Hold compaction jobs to make sure
|
|
|
|
// Hold compaction jobs to make sure
|
|
|
|
rocksdb::SyncPoint::GetInstance()->SetCallBack( |
|
|
|
rocksdb::SyncPoint::GetInstance()->SetCallBack( |
|
|
|
"CompactionJob::Run:Start", |
|
|
|
"CompactionJob::Run():Start", |
|
|
|
[&]() { env_->SleepForMicroseconds(100000); }); |
|
|
|
[&]() { env_->SleepForMicroseconds(100000); }); |
|
|
|
rocksdb::SyncPoint::GetInstance()->EnableProcessing(); |
|
|
|
rocksdb::SyncPoint::GetInstance()->EnableProcessing(); |
|
|
|
ASSERT_OK(dbfull()->SetOptions({ |
|
|
|
ASSERT_OK(dbfull()->SetOptions({ |
|
|
|