summaryrefslogtreecommitdiffstats
path: root/searchcore/src/apps/tests/persistenceconformance_test.cpp
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/apps/tests/persistenceconformance_test.cpp
parente8b197ceb9652cb85f3473675725e3c3d894c98f (diff)
Let proton subscribe to bucketspaces config.
Diffstat (limited to 'searchcore/src/apps/tests/persistenceconformance_test.cpp')
-rw-r--r--searchcore/src/apps/tests/persistenceconformance_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/searchcore/src/apps/tests/persistenceconformance_test.cpp b/searchcore/src/apps/tests/persistenceconformance_test.cpp
index 8bb1911e595..5c59b3376ba 100644
--- a/searchcore/src/apps/tests/persistenceconformance_test.cpp
+++ b/searchcore/src/apps/tests/persistenceconformance_test.cpp
@@ -26,6 +26,7 @@
#include <vespa/searchlib/index/dummyfileheadercontext.h>
#include <vespa/searchlib/transactionlog/translogserver.h>
#include <vespa/searchsummary/config/config-juniperrc.h>
+#include <vespa/config-bucketspaces.h>
#include <vespa/vespalib/io/fileutil.h>
#include <vespa/log/log.h>
@@ -37,6 +38,7 @@ using namespace cloud::config::filedistribution;
using namespace vespa::config::search::core;
using namespace vespa::config::search::summary;
using namespace vespa::config::search;
+using vespa::config::content::core::BucketspacesConfig;
using std::shared_ptr;
using document::BucketSpace;
@@ -180,6 +182,7 @@ public:
factory.getTypeRepo(),
std::make_shared<ProtonConfig>(),
std::make_shared<FiledistributorrpcConfig>(),
+ std::make_shared<BucketspacesConfig>(),
tuneFileDocDB));
mgr.forwardConfig(b);
mgr.nextGeneration(0);