diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-04-13 07:47:33 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-04-13 07:47:33 +0000 |
commit | 045babd97ccd8ba1bf44c14d0bce326c1f1a57be (patch) | |
tree | 625e9ed63e07c80f4895bd2608821507a4b1b121 /searchcore/src/tests/proton/documentdb/documentdb_test.cpp | |
parent | f9cc338cc28a79045da882db7ddcc8e02cb301df (diff) |
Force having documentdb as shared_ptr.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/documentdb_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/documentdb/documentdb_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp index 3c65326b11a..463a7b164e1 100644 --- a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp +++ b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp @@ -108,7 +108,7 @@ Fixture::Fixture() tuneFileDocumentDB, HwInfo()); mgr.forwardConfig(b); mgr.nextGeneration(0ms); - _db = std::make_shared<DocumentDB>(".", mgr.getConfig(), "tcp/localhost:9014", _queryLimiter, _clock, DocTypeName("typea"), + _db = DocumentDB::create(".", mgr.getConfig(), "tcp/localhost:9014", _queryLimiter, _clock, DocTypeName("typea"), makeBucketSpace(), *b->getProtonConfigSP(), _myDBOwner, _summaryExecutor, _summaryExecutor, _bucketExecutor, _tls, _dummy, _fileHeaderContext, std::make_unique<MemoryConfigStore>(), |