diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-01-25 14:08:21 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-01-25 14:08:21 +0000 |
commit | 92e0fd4a70cf983b84d84b49f55c124caec265d3 (patch) | |
tree | 9176e31e1c8e2dba973a82b6e1c84bf7cfa8b2ca /searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp | |
parent | 825b275d06f9f00033bce8fb27b7622c59fcd9a6 (diff) |
Sync executor when destructing the jobs.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp')
-rw-r--r-- | searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp index af8086941fd..ef53a78182c 100644 --- a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp +++ b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp @@ -49,6 +49,7 @@ JobTestBase::init(uint32_t allowedLidBloat, REMOVE_BATCH_BLOCK_RATE, REMOVE_BLOCK_RATE, false, useBucketDB()); BlockableMaintenanceJobConfig blockableCfg(resourceLimitFactor, maxOutstandingMoveOps); + _job.reset(); if (useBucketDB()) { _singleExecutor = std::make_unique<vespalib::ThreadStackExecutor>(1, 0x10000); _master = std::make_unique<proton::ExecutorThreadService> (*_singleExecutor); |