summaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorMorten Tokle <mortent@verizonmedia.com>2022-02-24 11:04:07 +0100
committerMorten Tokle <mortent@verizonmedia.com>2022-02-24 11:04:07 +0100
commit00d6bcafda2f035c8782506160fa8a0c092ba4a2 (patch)
tree37824768ae6b90c3f8cf3ddb0da35a0c7a47b5c2 /controller-server
parent122aa5b6f4f7c61b8662df6e2115a91af640de33 (diff)
Allow no tests in staging setup
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java
index f89e262aac2..2a6b0a2768d 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java
@@ -674,6 +674,9 @@ public class InternalStepRunner implements StepRunner {
controller.jobController().updateTestReport(id);
return Optional.of(error);
case NO_TESTS:
+ if (isSetup) {
+ return Optional.of(running);
+ }
TesterCloud.Suite suite = TesterCloud.Suite.of(id.type(), isSetup);
logger.log(INFO, "No tests were found in the test package, for test suite '" + suite + "'");
logger.log(INFO, "The test package must either contain basic HTTP tests under 'tests/<suite-name>/', " +