From d2dec4cfb9cff2c746ba20e727c6f8c846c7985d Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Tue, 14 May 2019 14:02:19 +0000 Subject: Wire in the shared executor in the threading service. --- .../proton/documentdb/document_subdbs/document_subdbs_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp') 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 struct FixtureBase { - ExecutorThreadingService _writeService; ThreadStackExecutor _summaryExecutor; + ExecutorThreadingService _writeService; typename Traits::Config _cfg; std::shared_ptr _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()), _bucketDBHandler(*_bucketDB), -- cgit v1.2.3