diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-06-14 14:16:36 +0200 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-06-14 14:16:36 +0200 |
commit | 3e164c8acf6c1fc74bf71750c4fb62d45fb0a79d (patch) | |
tree | 98d2024f993a87d20ff7aa24cae0ca0e8a297540 | |
parent | 88ef55cb45e9998df62bf8f76b0244861b6f4e9a (diff) |
Replace System and Staging tests with Functional and Upgrade
5 files changed, 10 insertions, 30 deletions
diff --git a/tenant-base/pom.xml b/tenant-base/pom.xml index 3c48d22085e..de710e6e1b8 100644 --- a/tenant-base/pom.xml +++ b/tenant-base/pom.xml @@ -217,14 +217,14 @@ </profile> <profile> - <id>system-tests</id> + <id>functional-tests</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> - <groups>ai.vespa.hosted.cd.SystemTest</groups> + <groups>ai.vespa.hosted.cd.FunctionalTest</groups> <excludedGroups>ai.vespa.hosted.cd.EmptyGroup</excludedGroups> </configuration> </plugin> @@ -233,14 +233,14 @@ </profile> <profile> - <id>staging-tests</id> + <id>upgrade-tests</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> - <groups>ai.vespa.hosted.cd.StagingTest</groups> + <groups>ai.vespa.hosted.cd.UpgradeTest</groups> <excludedGroups>ai.vespa.hosted.cd.EmptyGroup</excludedGroups> </configuration> </plugin> @@ -371,8 +371,8 @@ <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludedGroups> - ai.vespa.hosted.cd.SystemTest, - ai.vespa.hosted.cd.StagingTest, + ai.vespa.hosted.cd.FunctionalTest, + ai.vespa.hosted.cd.UpgradeTest, ai.vespa.hosted.cd.ProductionTest </excludedGroups> </configuration> diff --git a/tenant-cd/src/main/java/ai/vespa/hosted/cd/StagingTest.java b/tenant-cd/src/main/java/ai/vespa/hosted/cd/StagingTest.java deleted file mode 100644 index ee2ee0add4c..00000000000 --- a/tenant-cd/src/main/java/ai/vespa/hosted/cd/StagingTest.java +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package ai.vespa.hosted.cd; - -/** - * @deprecated Use {@link UpgradeTest}. - */ -@Deprecated -public class StagingTest { - -} diff --git a/tenant-cd/src/main/java/ai/vespa/hosted/cd/SystemTest.java b/tenant-cd/src/main/java/ai/vespa/hosted/cd/SystemTest.java deleted file mode 100644 index 6a8d1b4cbe4..00000000000 --- a/tenant-cd/src/main/java/ai/vespa/hosted/cd/SystemTest.java +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package ai.vespa.hosted.cd; - -/** - * @deprecated use {@link FunctionalTest}. - */ -@Deprecated -public class SystemTest { - -} diff --git a/vespa-testrunner-components/src/main/java/com/yahoo/vespa/hosted/testrunner/TestProfile.java b/vespa-testrunner-components/src/main/java/com/yahoo/vespa/hosted/testrunner/TestProfile.java index 018acb17387..8170af15535 100644 --- a/vespa-testrunner-components/src/main/java/com/yahoo/vespa/hosted/testrunner/TestProfile.java +++ b/vespa-testrunner-components/src/main/java/com/yahoo/vespa/hosted/testrunner/TestProfile.java @@ -6,8 +6,8 @@ package com.yahoo.vespa.hosted.testrunner; */ enum TestProfile { - SYSTEM_TEST("ai.vespa.hosted.cd.SystemTest, com.yahoo.vespa.tenant.systemtest.base.SystemTest", true), - STAGING_TEST("ai.vespa.hosted.cd.StagingTest, com.yahoo.vespa.tenant.systemtest.base.StagingTest", true), + SYSTEM_TEST("ai.vespa.hosted.cd.FunctionalTest, com.yahoo.vespa.tenant.systemtest.base.SystemTest", true), + STAGING_TEST("ai.vespa.hosted.cd.UpgradeTest, com.yahoo.vespa.tenant.systemtest.base.StagingTest", true), PRODUCTION_TEST("ai.vespa.hosted.cd.ProductionTest, com.yahoo.vespa.tenant.systemtest.base.ProductionTest", false); private final String group; diff --git a/vespa-testrunner-components/src/test/resources/pom.xml_system_tests b/vespa-testrunner-components/src/test/resources/pom.xml_system_tests index 86c36afd636..d4b5bd54404 100644 --- a/vespa-testrunner-components/src/test/resources/pom.xml_system_tests +++ b/vespa-testrunner-components/src/test/resources/pom.xml_system_tests @@ -47,10 +47,10 @@ <dependenciesToScan> <dependency>com.yahoo.vespa.testrunner.test:main.jar</dependency> </dependenciesToScan> - <groups>ai.vespa.hosted.cd.SystemTest, com.yahoo.vespa.tenant.systemtest.base.SystemTest</groups> + <groups>ai.vespa.hosted.cd.FunctionalTest, com.yahoo.vespa.tenant.systemtest.base.SystemTest</groups> <excludedGroups>com.yahoo.vespa.tenant.systemtest.base.impl.EmptyExcludeGroup.class</excludedGroups> <excludes> - <exclude>ai.vespa.hosted.cd.SystemTest, com.yahoo.vespa.tenant.systemtest.base.SystemTest</exclude> + <exclude>ai.vespa.hosted.cd.FunctionalTest, com.yahoo.vespa.tenant.systemtest.base.SystemTest</exclude> </excludes> <reportsDirectory>${env.TEST_DIR}</reportsDirectory> <redirectTestOutputToFile>false</redirectTestOutputToFile> |