diff options
Diffstat (limited to 'searchcore/src/apps/tests/persistenceconformance_test.cpp')
-rw-r--r-- | searchcore/src/apps/tests/persistenceconformance_test.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/searchcore/src/apps/tests/persistenceconformance_test.cpp b/searchcore/src/apps/tests/persistenceconformance_test.cpp index c3721b0064b..1aa85baccb7 100644 --- a/searchcore/src/apps/tests/persistenceconformance_test.cpp +++ b/searchcore/src/apps/tests/persistenceconformance_test.cpp @@ -22,6 +22,7 @@ LOG_SETUP("persistenceconformance_test"); #include <tests/proton/common/dummydbowner.h> #include <vespa/vespalib/io/fileutil.h> #include <vespa/searchcore/proton/common/hw_info.h> +#include <vespa/searchcore/proton/attribute/attribute_specs_builder.h> using namespace config; @@ -107,12 +108,15 @@ public: SchemaBuilder::build(*indexschema, *schema); SchemaBuilder::build(*attributes, *schema); SchemaBuilder::build(*summary, *schema); + AttributeSpecsBuilder attributeSpecsBuilder; + attributeSpecsBuilder.setup(*attributes); return DocumentDBConfig::SP(new DocumentDBConfig( 1, std::make_shared<RankProfilesConfig>(), std::make_shared<matching::RankingConstants>(), indexschema, - attributes, + attributeSpecsBuilder.getAttributesConfig(), + attributeSpecsBuilder.getAttributeSpecs(), summary, std::make_shared<SummarymapConfig>(), std::make_shared<JuniperrcConfig>(), |