summaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/k8stest.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-08-31 11:54:36 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-08-31 11:54:36 +0200
commit903393322806f197455bb0af7f486b33d0b19b69 (patch)
treedb492bc354cbfd3ba93030ae20ba5d33dfe66980 /functest_kubernetes/k8stest.py
parent7c3a118a8ca1417600971e20e1e0d90690784519 (diff)
Fully remove kubernetes working dir
It hugely decreases the size of our containers. Change-Id: I7bdc31645fb00c01e16855795bf99dd1b3b17dfd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest_kubernetes/k8stest.py')
-rw-r--r--functest_kubernetes/k8stest.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/functest_kubernetes/k8stest.py b/functest_kubernetes/k8stest.py
index c36863b8..dd1f66bc 100644
--- a/functest_kubernetes/k8stest.py
+++ b/functest_kubernetes/k8stest.py
@@ -121,8 +121,7 @@ class K8sSmokeTest(K8sTesting):
if "case_name" not in kwargs:
kwargs.get("case_name", 'k8s_smoke')
super(K8sSmokeTest, self).__init__(**kwargs)
- self.cmd = ["/src/k8s.io/kubernetes/_output/bin/e2e.test",
- "-ginkgo.focus", "Guestbook.application",
+ self.cmd = ["e2e.test", "-ginkgo.focus", "Guestbook.application",
"-kubeconfig", self.config, "--provider", "local"]
@@ -132,6 +131,5 @@ class K8sConformanceTest(K8sTesting):
if "case_name" not in kwargs:
kwargs.get("case_name", 'k8s_conformance')
super(K8sConformanceTest, self).__init__(**kwargs)
- self.cmd = ['/src/k8s.io/kubernetes/_output/bin/e2e.test',
- '-ginkgo.focus', 'Conformance',
+ self.cmd = ['e2e.test', '-ginkgo.focus', 'Conformance',
'-kubeconfig', self.config, "--provider", "local"]