aboutsummaryrefslogtreecommitdiffstats
path: root/controller-server/src/main
diff options
context:
space:
mode:
authorMorten Tokle <mortent@verizonmedia.com>2022-02-24 11:33:25 +0100
committerGitHub <noreply@github.com>2022-02-24 11:33:25 +0100
commitccf690fbe40e769161c6bf15bbd0d2f87ad7cefa (patch)
treea1ff8b615f24b233ea2df8862830d75668b73822 /controller-server/src/main
parent79b80263090de0519791175782ac192725238d35 (diff)
parent00d6bcafda2f035c8782506160fa8a0c092ba4a2 (diff)
Merge pull request #21363 from vespa-engine/mortent/allow-notests-stagingsetup
Allow no tests in staging setup
Diffstat (limited to 'controller-server/src/main')
-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>/', " +