diff options
author | JingLu5 <lvjing5@huawei.com> | 2018-10-09 14:34:45 +0800 |
---|---|---|
committer | JingLu5 <lvjing5@huawei.com> | 2018-10-19 08:34:49 +0800 |
commit | 9845df11434dcc268049509c83457fb7debd035c (patch) | |
tree | 3da92b60804c8d012109cdb8939d0b0e2d2f3ad1 /clover/functest | |
parent | e716285dfe01e2373984550495fd2cf02dbf959d (diff) |
Add initial Istio validation testcase for CI
This work adds testcase for validating Istio installation
Change-Id: Ie895b27eb4b3fbec23cf9519699f5fe37236153c
Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'clover/functest')
-rw-r--r-- | clover/functest/clover_k8s.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clover/functest/clover_k8s.py b/clover/functest/clover_k8s.py index 654c8e5..b79ac90 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""" @@ -18,9 +19,9 @@ class K8sCloverTest(k8stest.K8sTesting): self.check_envs() def run_kubetest(self): - success = True + success = istio_validate.validateDeploy() if success: self.result = 100 - elif failure: + else: self.result = 0 |