aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/documentdb_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-09-30 18:23:29 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-09-30 18:23:29 +0200
commit0b557c51c7e06a4786366b3e97c24dd19df10221 (patch)
tree36619987d17ec1a2ee6f601c3542598b60cc5e39 /searchcore/src/tests/proton/documentdb/documentdb_test.cpp
parent7a74c1caf57ca0ac1801e91580acd35bea52d970 (diff)
Update so that the tls direct writer is not optional.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/documentdb_test.cpp')
-rw-r--r--searchcore/src/tests/proton/documentdb/documentdb_test.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp
index b9a04acb8da..157e964ad83 100644
--- a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp
@@ -107,22 +107,16 @@ Fixture::Fixture()
config::DirSpec spec(TEST_PATH("cfg"));
DocumentDBConfigHelper mgr(spec, "typea");
BootstrapConfig::SP
- b(new BootstrapConfig(1,
- documenttypesConfig,
- repo,
+ b(new BootstrapConfig(1, documenttypesConfig, repo,
std::make_shared<ProtonConfig>(),
std::make_shared<FiledistributorrpcConfig>(),
tuneFileDocumentDB));
mgr.forwardConfig(b);
mgr.nextGeneration(0);
- _db.reset(new DocumentDB(".", mgr.getConfig(), "tcp/localhost:9014",
- _queryLimiter, _clock, DocTypeName("typea"),
- ProtonConfig(),
- _myDBOwner, _summaryExecutor, _summaryExecutor, NULL, _dummy, _fileHeaderContext,
- ConfigStore::UP(new MemoryConfigStore),
- std::make_shared<vespalib::ThreadStackExecutor>
- (16, 128 * 1024),
- _hwInfo));
+ _db.reset(new DocumentDB(".", mgr.getConfig(), "tcp/localhost:9014", _queryLimiter, _clock, DocTypeName("typea"),
+ ProtonConfig(), _myDBOwner, _summaryExecutor, _summaryExecutor, _tls, _dummy,
+ _fileHeaderContext, ConfigStore::UP(new MemoryConfigStore),
+ std::make_shared<vespalib::ThreadStackExecutor>(16, 128 * 1024), _hwInfo));
_db->start();
_db->waitForOnlineState();
}