aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-08-22 22:25:46 +0200
committerGitHub <noreply@github.com>2022-08-22 22:25:46 +0200
commitb409eb7c17d06744954a64495e4c6d0e21638dd5 (patch)
treeda63197e9d037d4488b99b2db96eb8c4d03e3fe2
parent7329258911cac65ed94ca36ff5c390d017120316 (diff)
parent7dc9c6c81a88eae4a7023f5f4ae731eab0ea3d4f (diff)
Merge pull request #23740 from vespa-engine/hmusum/remove-unused-test-appv8.40.27
Remove unused test app
-rw-r--r--configserver/src/test/apps/illegalApp2/hosts.xml7
-rw-r--r--configserver/src/test/apps/illegalApp2/schemas/music.sd50
-rw-r--r--configserver/src/test/apps/illegalApp2/services.xml39
-rw-r--r--configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java1
4 files changed, 0 insertions, 97 deletions
diff --git a/configserver/src/test/apps/illegalApp2/hosts.xml b/configserver/src/test/apps/illegalApp2/hosts.xml
deleted file mode 100644
index a515a4e97da..00000000000
--- a/configserver/src/test/apps/illegalApp2/hosts.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
-<hosts>
- <host name="mytesthost">
- <alias>node1</alias>
- </host>
-</hosts>
diff --git a/configserver/src/test/apps/illegalApp2/schemas/music.sd b/configserver/src/test/apps/illegalApp2/schemas/music.sd
deleted file mode 100644
index f4b11d1e8e4..00000000000
--- a/configserver/src/test/apps/illegalApp2/schemas/music.sd
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-# A basic search definition - called music, should be saved to music.sd
-search music {
-
- # It contains one document type only - called music as well
- document music {
-
- field title type string {
- indexing: summary | index # How this field should be indexed
- # index-to: title, default # Create two indexes
- weight: 75 # Ranking importancy of this field, used by the built in nativeRank feature
- }
-
- field artist type string {
- indexing: summary | attribute | index
- # index-to: artist, default
-
- weight: 25
- }
-
- field year type int {
- indexing: summary | attribute
- }
-
- # Increase query
- field popularity type int {
- indexing: summary | attribute
- }
-
- field url type uri {
- indexing: summary | index
- }
-
- }
-
- rank-profile default inherits default {
- first-phase {
- expression: nativeRank(title,artist) + attribute(popularity)
- }
-
- }
-
- rank-profile textmatch inherits default {
- first-phase {
- expression: nativeRank(title,artist)
- }
-
- }
-
-}
diff --git a/configserver/src/test/apps/illegalApp2/services.xml b/configserver/src/test/apps/illegalApp2/services.xml
deleted file mode 100644
index 3e957a0e228..00000000000
--- a/configserver/src/test/apps/illegalApp2/services.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
-<services version="1.0">
-
- <admin version="2.0">
- <adminserver hostalias="node1"/>
- <logserver hostalias="node1" />
- </admin>
-
- <content version="1.0">
- <redundancy>2</redundancy>
- <documents>
- <document type="music" mode="index"/>
- </documents>
- <nodes>
- <node hostalias="node1" distribution-key="0"/>
- </nodes>
-
- </content>
-
- <container version="1.0">
- <include dir='file:///etc/passwd'/>
- <document-processing compressdocuments="true">
- <chain id="ContainerWrapperTest">
- <documentprocessor id="com.yahoo.vespa.config.AppleDocProc"/>
- </chain>
- </document-processing>
-
- <config name="project.specific">
- <value>someval</value>
- </config>
-
- <nodes>
- <node hostalias="node1" />
- </nodes>
-
- </container>
-
-</services>
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java
index a8439a9061c..99487230c5d 100644
--- a/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java
+++ b/configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java
@@ -92,7 +92,6 @@ public class ApplicationRepositoryTest {
private final static File testAppLogServerWithContainer = new File("src/test/apps/app-logserver-with-container");
private final static File app1 = new File("src/test/apps/cs1");
private final static File app2 = new File("src/test/apps/cs2");
- private final static File illegalApp2 = new File("src/test/apps/illegalapp2");
private final static TenantName tenant1 = TenantName.from("test1");
private final static TenantName tenant2 = TenantName.from("test2");