summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorEirik Nygaard <eirik.nygaard@yahooinc.com>2022-03-01 14:41:40 +0100
committerEirik Nygaard <eirik.nygaard@yahooinc.com>2022-03-01 19:00:51 +0100
commit02e472a7fd8d6bdb68450e11da745cb247267777 (patch)
tree7e56f912cc7ad039154b49effa9884adce0ee23b /client
parent6514bb8b2b1961108bddc8cc7f299d8bc488fe90 (diff)
Do no fail if there are not tests, there could potentially be Java tests available
Diffstat (limited to 'client')
-rw-r--r--client/go/cmd/prod.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/client/go/cmd/prod.go b/client/go/cmd/prod.go
index b8d4d772b4f..4a834ebf46d 100644
--- a/client/go/cmd/prod.go
+++ b/client/go/cmd/prod.go
@@ -378,11 +378,13 @@ func prompt(r *bufio.Reader, question, defaultAnswer string, validator func(inpu
}
func verifyTests(testsParent string, target vespa.Target) error {
+ // TODO: system-test, staging-setup and staging-test should be required if the application
+ // does not have any Java tests.
suites := map[string]bool{
// suite name: required
- "system-test": true,
- "staging-setup": true,
- "staging-test": true,
+ "system-test": false,
+ "staging-setup": false,
+ "staging-test": false,
"production-test": false,
}
for suite, required := range suites {