From 174745d431c59bfd7d8077b817dc38090010fd35 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Mon, 26 Feb 2018 16:41:25 +0100 Subject: Don't validate when reloading models --- .../searchdefinition/processing/IntegerIndex2AttributeTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/processing/IntegerIndex2AttributeTestCase.java') diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/processing/IntegerIndex2AttributeTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/processing/IntegerIndex2AttributeTestCase.java index df4c1a52c35..1e0270f293d 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/processing/IntegerIndex2AttributeTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/processing/IntegerIndex2AttributeTestCase.java @@ -23,7 +23,7 @@ public class IntegerIndex2AttributeTestCase extends SearchDefinitionTestCase { public void testIntegerIndex2Attribute() throws IOException, ParseException { Search search = UnprocessingSearchBuilder.buildUnprocessedFromFile("src/test/examples/integerindex2attribute.sd"); search.process(); - new IntegerIndex2Attribute(search, new BaseDeployLogger(), new RankProfileRegistry(), new QueryProfiles()).process(); + new IntegerIndex2Attribute(search, new BaseDeployLogger(), new RankProfileRegistry(), new QueryProfiles()).process(true); SDField f; f = search.getConcreteField("s1"); @@ -55,4 +55,5 @@ public class IntegerIndex2AttributeTestCase extends SearchDefinitionTestCase { assertEquals(f.getAttributes().size(), 1); assertTrue( ! f.existsIndex("ai2")); } + } -- cgit v1.2.3