summaryrefslogtreecommitdiffstats
path: root/clover/functest
diff options
context:
space:
mode:
authorStephen Wong <stephen.kf.wong@gmail.com>2018-11-01 06:49:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-11-01 06:49:50 +0000
commitaedfdecd5647fc5c2de987e49a487053c78db8fc (patch)
tree4a53d99e8a625aa9ff71efbf7380623e84828fab /clover/functest
parent257e0d846ade5b1051c3734ad6a2d5bea4ce4ca7 (diff)
parent9845df11434dcc268049509c83457fb7debd035c (diff)
Merge "Add initial Istio validation testcase for CI"
Diffstat (limited to 'clover/functest')
-rw-r--r--clover/functest/clover_k8s.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/clover/functest/clover_k8s.py b/clover/functest/clover_k8s.py
index eb546f2..25850c6 100644
--- a/clover/functest/clover_k8s.py
+++ b/clover/functest/clover_k8s.py
@@ -7,6 +7,7 @@
import functest_kubernetes.k8stest as k8stest
+import clover.servicemesh.validate as istio_validate
class K8sCloverTest(k8stest.K8sTesting):
"""Clover test suite"""
@@ -17,8 +18,8 @@ class K8sCloverTest(k8stest.K8sTesting):
super(K8sCloverTest, self).__init__(**kwargs)
def run_kubetest(self):
- success = True
+ success = istio_validate.validateDeploy()
if success:
self.result = 100
- elif failure:
+ else:
self.result = 0