aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/searchdefinition/derived
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-09-07 22:38:11 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2021-09-07 22:38:11 +0200
commit3eda134d8483a450ddfc8aa7314f45f1fa8fabfe (patch)
tree9d1b4aa08e41c3f997e2344d78c77b4da2900659 /config-model/src/test/java/com/yahoo/searchdefinition/derived
parent994d45c9d86d9781db5e93d8fc0a649ae12bd42b (diff)
If you seemingly inherit yourself, just assume that you try to inherit the same named rankprofile in the base document type.
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/derived')
-rw-r--r--config-model/src/test/java/com/yahoo/searchdefinition/derived/ExportingTestCase.java10
1 files changed, 0 insertions, 10 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 41c5c919a62..8ef04752800 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
@@ -166,16 +166,6 @@ public class ExportingTestCase extends AbstractExportingTestCase {
}
@Test
- public void testIllegalSidewaysRankProfileInheritance() throws IOException, ParseException {
- try {
- assertCorrectDeriving("illegal_sideways_inheritance", "child1", new TestableDeployLogger());
- fail();
- } catch (IllegalArgumentException e) {
- assertEquals("rank-profile 'child' inherits 'parent', but it does not exist anywhere in the inheritance of search 'child1'.", e.getMessage());
- }
- }
-
- @Test
public void testLanguage() throws IOException, ParseException {
TestableDeployLogger logger = new TestableDeployLogger();
assertCorrectDeriving("language", logger);