diff options
author | Eirik Nygaard <eirik.nygaard@yahooinc.com> | 2022-03-01 14:41:40 +0100 |
---|---|---|
committer | Eirik Nygaard <eirik.nygaard@yahooinc.com> | 2022-03-01 19:00:51 +0100 |
commit | 02e472a7fd8d6bdb68450e11da745cb247267777 (patch) | |
tree | 7e56f912cc7ad039154b49effa9884adce0ee23b /client | |
parent | 6514bb8b2b1961108bddc8cc7f299d8bc488fe90 (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.go | 8 |
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 { |