diff --git a/db/db_test.cc b/db/db_test.cc index ff983c36c6..34b94cfdf1 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -9158,6 +9158,7 @@ TEST_F(DBTest, HardLimit) { ASSERT_GE(callback_count.load(), 1); rocksdb::SyncPoint::GetInstance()->DisableProcessing(); + sleeping_task_low.WaitUntilDone(); } #ifndef ROCKSDB_LITE