diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-06-21 14:39:10 +0200 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-06-21 14:39:10 +0200 |
commit | 5657f27ee72fc1d3d11163f3b00888c8042cfe99 (patch) | |
tree | 58c7a10a5a6e35733d0a9b6bfbb41f7a1fd65ef0 /tenant-cd | |
parent | 5e2e37ad9da4f521a209856fc20cbc42de0ae633 (diff) |
Support JUnit 5 in tester applications
Diffstat (limited to 'tenant-cd')
3 files changed, 11 insertions, 0 deletions
diff --git a/tenant-cd/src/main/java/ai/vespa/hosted/cd/ProductionTest.java b/tenant-cd/src/main/java/ai/vespa/hosted/cd/ProductionTest.java index 6cf5fb07f58..0dfeab5d327 100644 --- a/tenant-cd/src/main/java/ai/vespa/hosted/cd/ProductionTest.java +++ b/tenant-cd/src/main/java/ai/vespa/hosted/cd/ProductionTest.java @@ -16,6 +16,9 @@ package ai.vespa.hosted.cd; */ public interface ProductionTest { + /** Use with JUnit 5 @Tag to have this run in the production jobs in the pipeline. */ + String name = "ai.vespa.hosted.cd.ProductionTest"; + // Want to verify metrics (Vespa). // Want to verify external metrics (YAMAS, other). // May want to verify search gives expected results. 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 index 40377da30ef..6e1487ced0f 100644 --- a/tenant-cd/src/main/java/ai/vespa/hosted/cd/StagingTest.java +++ b/tenant-cd/src/main/java/ai/vespa/hosted/cd/StagingTest.java @@ -17,6 +17,10 @@ package ai.vespa.hosted.cd; * @author jonmv */ public interface StagingTest { + + /** Use with JUnit 5 @Tag to have this run in the staging test job in the pipeline. */ + String name = "ai.vespa.hosted.cd.StagingTest"; + // Want to verify documents are not damaged by upgrade. // May want to verify metrics during upgrade. } 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 index c67d86fc8de..f2f06d53515 100644 --- a/tenant-cd/src/main/java/ai/vespa/hosted/cd/SystemTest.java +++ b/tenant-cd/src/main/java/ai/vespa/hosted/cd/SystemTest.java @@ -15,6 +15,10 @@ package ai.vespa.hosted.cd; * @author jonmv */ public interface SystemTest { + + /** Use with JUnit 5 @Tag to have this run in the system test job in the pipeline. */ + String name = "ai.vespa.hosted.cd.SystemTest"; + // Want to feed some documents. // Want to verify document processing and routing is as expected. // Want to check recall on those documents. |