diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-05-24 16:06:01 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-05-25 14:09:42 +0200 |
commit | 38d5528de104e756dbc2d322211d935982b836be (patch) | |
tree | 7871f054424d485d27e169002d8d65b4ba516d30 /config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java | |
parent | 6067d082653ab2994a80ccdaeca72bdf46e65e10 (diff) |
Use external rank expressions, gated by feature flag.
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java')
-rw-r--r-- | config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java index 770bea55af2..370315ad08b 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java @@ -1,6 +1,7 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.searchdefinition.derived; +import com.yahoo.config.model.deploy.TestProperties; import com.yahoo.searchdefinition.SearchBuilder; import com.yahoo.searchdefinition.parser.ParseException; import org.junit.Test; @@ -103,7 +104,8 @@ public class ExportingTestCase extends AbstractExportingTestCase { @Test public void testRankExpression() throws IOException, ParseException { - assertCorrectDeriving("rankexpression"); + assertCorrectDeriving("rankexpression", null, + new TestProperties().useExternalRankExpression(true), new TestableDeployLogger()); } @Test |