diff options
author | Tor Egge <Tor.Egge@oath.com> | 2018-01-09 15:10:12 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2018-01-09 15:10:12 +0000 |
commit | 19c0c4bdc483a7eaec97c73ab2217d51880dd333 (patch) | |
tree | d1656b8f52ff12b10dc3fb630299fe81bd3d7c2b /searchcore/src/tests/proton/documentdb/documentdb_test.cpp | |
parent | e8b197ceb9652cb85f3473675725e3c3d894c98f (diff) |
Let proton subscribe to bucketspaces config.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/documentdb_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/documentdb/documentdb_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp index 58372c59193..f93930d189b 100644 --- a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp +++ b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp @@ -23,6 +23,7 @@ #include <vespa/searchlib/index/dummyfileheadercontext.h> #include <vespa/searchlib/transactionlog/translogserver.h> #include <vespa/vespalib/data/slime/slime.h> +#include <vespa/config-bucketspaces.h> #include <vespa/vespalib/testkit/test_kit.h> using namespace cloud::config::filedistribution; @@ -40,6 +41,7 @@ using search::transactionlog::TransLogServer; using searchcorespi::IFlushTarget; using searchcorespi::index::IndexFlushTarget; using vespa::config::search::core::ProtonConfig; +using vespa::config::content::core::BucketspacesConfig; using vespalib::Slime; namespace { @@ -96,6 +98,7 @@ Fixture::Fixture() b(new BootstrapConfig(1, documenttypesConfig, repo, std::make_shared<ProtonConfig>(), std::make_shared<FiledistributorrpcConfig>(), + std::make_shared<BucketspacesConfig>(), tuneFileDocumentDB)); mgr.forwardConfig(b); mgr.nextGeneration(0); |