diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2016-08-26 15:18:27 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2016-08-31 10:37:15 +0200 |
commit | a20eb6eab5fe27128055f0f88166eec05e0413ac (patch) | |
tree | c958c9e3df840b07480ddfad7bf5138f68eb1035 /searchcore/src/tests/proton/documentdb/documentdb_test.cpp | |
parent | bca73f4f4e56d0a016b99b3917a075823c193c57 (diff) |
subscribe to ranking constants config
* move the .def file for filedistributorrpc to fileacquirerer, and
compile a minimal C++ library from it that can be used by both searchcore
and file distribution
* proton now subscribes to filedistributorrpc as a bootstrap config
* and subscribes to ranking-constants as part of the documentdb config
* when loading a config snapshot, make an empty ranking-constants.cfg
if it did not already exist
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, 2 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp index 605a8fc5530..d6d54d31f16 100644 --- a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp +++ b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp @@ -28,6 +28,7 @@ using search::index::Schema; using search::transactionlog::TransLogServer; using namespace proton; using namespace vespalib::slime; +using namespace cloud::config::filedistribution; using search::TuneFileDocumentDB; using document::DocumenttypesConfig; using search::index::DummyFileHeaderContext; @@ -79,6 +80,7 @@ Fixture::Fixture() documenttypesConfig, repo, BootstrapConfig::ProtonConfigSP(new ProtonConfig()), + BootstrapConfig::FiledistributorrpcConfigSP(new FiledistributorrpcConfig()), tuneFileDocumentDB)); mgr.forwardConfig(b); mgr.nextGeneration(0); |