diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2021-11-17 19:48:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 19:48:03 +0100 |
commit | 55f27e2ad4fb5272120e50d51ccc6fd1f0b2bfbb (patch) | |
tree | f0be57b19b3f908145e0b7c0440d4aa99ddb9ff9 /vespa-testrunner-components/src/main/java/com/yahoo/vespa/hosted/testrunner/TestProfile.java | |
parent | ab3518e8b3a4caf742e12a134c4fb1d2bbf3c293 (diff) | |
parent | fbdc8549df12ffd68f470bdbabff72d49951cf61 (diff) |
Merge pull request #20071 from vespa-engine/jonmv/vespa-cli-test-runnerv7.503.19
Jonmv/vespa cli test runner
Diffstat (limited to 'vespa-testrunner-components/src/main/java/com/yahoo/vespa/hosted/testrunner/TestProfile.java')
-rw-r--r-- | vespa-testrunner-components/src/main/java/com/yahoo/vespa/hosted/testrunner/TestProfile.java | 30 |
1 files changed, 30 insertions, 0 deletions
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 new file mode 100644 index 00000000000..95a2b2723b8 --- /dev/null +++ b/vespa-testrunner-components/src/main/java/com/yahoo/vespa/hosted/testrunner/TestProfile.java @@ -0,0 +1,30 @@ +// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.vespa.hosted.testrunner; + +/** + * @author valerijf + * @author jvenstad + */ +public enum TestProfile { + + SYSTEM_TEST("system, com.yahoo.vespa.tenant.systemtest.base.SystemTest", true), + STAGING_SETUP_TEST("staging-setup", false), + STAGING_TEST("staging, com.yahoo.vespa.tenant.systemtest.base.StagingTest", true), + PRODUCTION_TEST("production, com.yahoo.vespa.tenant.systemtest.base.ProductionTest", false); + + private final String group; + private final boolean failIfNoTests; + + TestProfile(String group, boolean failIfNoTests) { + this.group = group; + this.failIfNoTests = failIfNoTests; + } + + public String group() { + return group; + } + + public boolean failIfNoTests() { + return failIfNoTests; + } +} |