aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-11-22 10:13:15 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-11-22 10:13:15 +0000
commit69d4dad5422513bfe6517d84290117fc1ff92992 (patch)
treedcc17ad99e5e2e97fbac6959629a47671fbbc060
parent9800e317b56d8276c3ef6765cfd15525be3183c1 (diff)
sync_all_executor => shutdown
-rw-r--r--searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp5
1 files changed, 2 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 27ee7dee3e9..144e37d9461 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
@@ -313,9 +313,8 @@ struct FixtureBase
init();
}
~FixtureBase() {
- _writeService.sync_all_executors();
- _writeService.master().execute(makeLambdaTask([this]() { _subDb.close(); }));
- _writeService.sync_all_executors();
+ _writeService.master().execute(makeLambdaTask([this]() { _subDb.close(); }));
+ _writeService.shutdown();
}
template <typename FunctionType>
void runInMasterAndSync(FunctionType func) {