summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stor4nfv_tests/stor4nfv_k8s.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/stor4nfv_tests/stor4nfv_k8s.py b/stor4nfv_tests/stor4nfv_k8s.py
index 541cf36..95ef40d 100644
--- a/stor4nfv_tests/stor4nfv_k8s.py
+++ b/stor4nfv_tests/stor4nfv_k8s.py
@@ -23,4 +23,10 @@ class K8sStor4nfvTest(k8stest.K8sTesting):
kwargs.get("case_name", 'stor4nfv_k8s')
super(K8sStor4nfvTest, self).__init__(**kwargs)
self.check_envs()
- self.cmd = ['/src/k8s.io/kubernetes/cluster/validate-cluster.sh']
+
+ def run_kubetest(self):
+ success = True
+ if success:
+ self.result = 100
+ elif failure:
+ self.result = 0