summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-05-14 14:02:19 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2019-05-14 18:29:04 +0000
commitd2dec4cfb9cff2c746ba20e727c6f8c846c7985d (patch)
treee624f734c4d59313f037ffaf0ba178d942b90747 /searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp
parent67f55d7c0c14fee4830a010281fc0c2c752c1d8a (diff)
Wire in the shared executor in the threading service.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp')
-rw-r--r--searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp b/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp
index 32cf0584768..cbf82fd7e11 100644
--- a/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp
@@ -292,8 +292,8 @@ struct MyConfigSnapshot
template <typename Traits>
struct FixtureBase
{
- ExecutorThreadingService _writeService;
ThreadStackExecutor _summaryExecutor;
+ ExecutorThreadingService _writeService;
typename Traits::Config _cfg;
std::shared_ptr<BucketDBOwner> _bucketDB;
BucketDBHandler _bucketDBHandler;
@@ -304,8 +304,8 @@ struct FixtureBase
typename Traits::SubDB _subDb;
IFeedView::SP _tmpFeedView;
FixtureBase()
- : _writeService(),
- _summaryExecutor(1, 64 * 1024),
+ : _summaryExecutor(1, 64 * 1024),
+ _writeService(_summaryExecutor),
_cfg(),
_bucketDB(std::make_shared<BucketDBOwner>()),
_bucketDBHandler(*_bucketDB),