summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/proton_configurer
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2017-04-20 12:26:32 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2017-04-20 12:26:32 +0000
commitd509b1c0892133074105a10924f5bf7e61eb2583 (patch)
treed40edb20d1fc696378cb889b93df899bf51f0123 /searchcore/src/tests/proton/proton_configurer
parent6fbea2541823e0edb26bbdbab0631fb924d9ea94 (diff)
Remove recently added attribute specs from document db config.
Diffstat (limited to 'searchcore/src/tests/proton/proton_configurer')
-rw-r--r--searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp b/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
index ab786d21e79..7a8247c8944 100644
--- a/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
+++ b/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
@@ -20,7 +20,6 @@
#include <vespa/searchcommon/common/schemaconfigurer.h>
#include <vespa/vespalib/util/threadstackexecutor.h>
#include <vespa/vespalib/test/insertion_operators.h>
-#include <vespa/searchcore/proton/attribute/attribute_aspect_delayer.h>
using namespace config;
using namespace proton;
@@ -72,17 +71,14 @@ struct DBConfigFixture {
const vespalib::string &configId,
const vespalib::string &docTypeName)
{
- AttributeAspectDelayer attributeAspectDelayer;
- attributeAspectDelayer.setup(_attributesBuilder, _summarymapBuilder);
return std::make_shared<DocumentDBConfig>
(generation,
std::make_shared<RankProfilesConfig>(_rankProfilesBuilder),
buildRankingConstants(),
std::make_shared<IndexschemaConfig>(_indexschemaBuilder),
- attributeAspectDelayer.getAttributesConfig(),
- attributeAspectDelayer.getAttributeSpecs(),
+ std::make_shared<AttributesConfig>(_attributesBuilder),
std::make_shared<SummaryConfig>(_summaryBuilder),
- attributeAspectDelayer.getSummarymapConfig(),
+ std::make_shared<SummarymapConfig>(_summarymapBuilder),
std::make_shared<JuniperrcConfig>(_juniperrcBuilder),
documentTypes,
repo,