summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentdb/fileconfigmanager
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-01-09 15:10:12 +0000
committerTor Egge <Tor.Egge@oath.com>2018-01-09 15:10:12 +0000
commit19c0c4bdc483a7eaec97c73ab2217d51880dd333 (patch)
treed1656b8f52ff12b10dc3fb630299fe81bd3d7c2b /searchcore/src/tests/proton/documentdb/fileconfigmanager
parente8b197ceb9652cb85f3473675725e3c3d894c98f (diff)
Let proton subscribe to bucketspaces config.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/fileconfigmanager')
-rw-r--r--searchcore/src/tests/proton/documentdb/fileconfigmanager/fileconfigmanager_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/documentdb/fileconfigmanager/fileconfigmanager_test.cpp b/searchcore/src/tests/proton/documentdb/fileconfigmanager/fileconfigmanager_test.cpp
index 9bb9766024a..a781085769c 100644
--- a/searchcore/src/tests/proton/documentdb/fileconfigmanager/fileconfigmanager_test.cpp
+++ b/searchcore/src/tests/proton/documentdb/fileconfigmanager/fileconfigmanager_test.cpp
@@ -13,6 +13,7 @@
#include <vespa/searchcore/proton/test/documentdb_config_builder.h>
#include <vespa/searchsummary/config/config-juniperrc.h>
#include <vespa/vespalib/io/fileutil.h>
+#include <vespa/config-bucketspaces.h>
#include <vespa/vespalib/testkit/test_kit.h>
using namespace cloud::config::filedistribution;
@@ -23,6 +24,7 @@ using namespace search::index;
using namespace search;
using namespace vespa::config::search::core;
using namespace vespa::config::search;
+using vespa::config::content::core::BucketspacesConfig;
using proton::matching::RankingConstants;
typedef DocumentDBConfigHelper DBCM;
@@ -44,6 +46,7 @@ makeBaseConfigSnapshot()
DocumentTypeRepo::SP(new DocumentTypeRepo(*dtcfg)),
std::make_shared<ProtonConfig>(),
std::make_shared<FiledistributorrpcConfig>(),
+ std::make_shared<BucketspacesConfig>(),
std::make_shared<TuneFileDocumentDB>()));
dbcm.forwardConfig(b);
dbcm.nextGeneration(0);